Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - SMTP Server?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SMTP Server?

 Post Reply Post Reply
Author
k6irk View Drop Down
Newbie
Newbie


Joined: 26 September 2003
Location: United States
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote k6irk Quote  Post ReplyReply Direct Link To This Post Topic: SMTP Server?
    Posted: 30 August 2004 at 11:10am

I don't run any mail server on my system and when I use one of the other types of systems on WebWiz, usually I get an email back due to not having my server on a static IP address that they think it is spam.

Is there a way to add in a SMTP Server (like my regular email one) where all I need to do is put in my smtp server name, my user ID and password so the system will send out messages that way?

Thank you for any help on this.

Rob

 

Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 30 August 2004 at 12:02pm

Don't understand how you get an email back that mentions your ip if you're not running an SMTP server? If you're using a dynamic dns service, change to one that allows you to set up dns mx records.

You may be able to relay through your isp's smtp server. You'd have to use authentication - the login and password used for your isp.
IIRC, WWF doesn't use authentication out of the box. It's usually only a matter of adding a couple of lines of code to the place where you particular email component is used in send_mail.asp.
Check out the website for your particular email component for the particular lines to add. They'll have an example there.

A lot of sites will also reject email if they can't line up the sending ip with a reverse dns lookup of the ip of the senders address.

This site (WWF) doesn't allow sign-ups with AOL, MSN, or Yahoo email addresses specifically because of problems sending email to those addresses.


Lead me not into temptation... I know the short cut, follow me.
Back to Top
k6irk View Drop Down
Newbie
Newbie


Joined: 26 September 2003
Location: United States
Status: Offline
Points: 34
Post Options Post Options   Thanks (0) Thanks(0)   Quote k6irk Quote  Post ReplyReply Direct Link To This Post Posted: 30 August 2004 at 1:41pm

Sorry, I did not explain enough.

I am either running the CDOSYS or CDONTS on my 2003 server, so that is how I am getting the emails back to me due to the Dynamic DNS.

I did find this:

.Fields( http://schemas.microsoft.com/cdo/configuration/smtpauthenticate) = 1
.Fields(http://schemas.microsoft.com/cdo/configuration/sendusername) = "SMTPAUTHUser"
.Fields(http://schemas.microsoft.com/cdo/configuration/sendpassword) = "SMTPAUTHPassword"

But am unsure how I would (at this time) put the user name and password into those fields (or do I just make the changes).

One other thing, if I recall correctly (since I am not at home to verify this), my SMTP server does require authanication (sp), is that what the first line would do?

If I am able to go through my own ISP's SMTP server as me, I think it would be better, now just to get the forums to work that way tooWink

Thank you for your help,

Rob

 

Originally posted by dpyers dpyers wrote:

Don't understand how you get an email back that mentions your ip if you're not running an SMTP server? If you're using a dynamic dns service, change to one that allows you to set up dns mx records.

You may be able to relay through your isp's smtp server. You'd have to use authentication - the login and password used for your isp.
IIRC, WWF doesn't use authentication out of the box. It's usually only a matter of adding a couple of lines of code to the place where you particular email component is used in send_mail.asp.
Check out the website for your particular email component for the particular lines to add. They'll have an example there.

A lot of sites will also reject email if they can't line up the sending ip with a reverse dns lookup of the ip of the senders address.

This site (WWF) doesn't allow sign-ups with AOL, MSN, or Yahoo email addresses specifically because of problems sending email to those addresses.



Edited by k6irk
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 30 August 2004 at 4:50pm

If email is going out through CDOSYS or CDONTS. then you have SMTP running under IIS. - Check the control Panel/Admin Tools/IIS.

To use your ISP's smtp services, you'd need to specify their smtp server in WWF email setup. CDO doesn't provide for authentication though, so you may need to get a 3rd party component like ASPEMail  ASPMail or JMail to do that.

If I were you though, I'd try seeing if I can use my isp's smtp server without authentication first - set it up in WWF admin and use one of your email logins/passwords for the isp.

Example 4 on this page shows how to use CDO to send through a remote SMTP server that doesn't require authentication.
http://www.ehost.com/knowledgebase/read_article.bml?kbid=997

 


Lead me not into temptation... I know the short cut, follow me.
Back to Top
dpyers View Drop Down
Senior Member
Senior Member


Joined: 12 May 2003
Status: Offline
Points: 3937
Post Options Post Options   Thanks (0) Thanks(0)   Quote dpyers Quote  Post ReplyReply Direct Link To This Post Posted: 30 August 2004 at 5:44pm

CDO doesn't allow authentication. You'd have to use a 3rd party component like ASPEmail, ASPMail, or JMail.

You'd have to set up the smtp server in WWF admin section to use your ISP's smtp server. You'd still need to use a valid email account for your isp as the "From" address. 

First though, you may want to see if you can use the isp's smtp server without needing to authenticate. Here's a way of using telnet to test it...

Use Telnet to see if your isp's mail server requires authentication
NOTE - Use upper-case for commands where it's indicated.

Got to Start|Run and enter cmd

You'll see a dos box. Enter Telnet
(q/Quit at any time exits telnet. ? shows help)

Open a connection to your ISP's Email server by entering
o mail.ispname.net 25
(mail.ispname.net = whatever you use as the smtp/Send mail server in Outlook)

You should receive as a reply a bunch of connection messages ending with a "220" message:
220 ....

You then enter the domain you are sending the email from (Could be your isp's domain):
HELO www.mydomain.com
(Can actually be anything, but you should use your real domain name. In the future this will matter a lot - and for some mail servers, it matters now)

This should give you:
250 mail.ispname.net Hello www.mydomain.com ... Generic Greeting messages

Enter your email address at the ISP:
MAIL FROM: me@mydomain.com

Should Return...
250 2.1.0 me@mydomain.com ... Sender ok

Enter the recipients address:
RCPT TO: someone@anotherdomain.com
(use an address that doesn't belong to your isp)

Should Return...
250 2.1.0 someone@anotherdomain.com... Recipient ok
If it returns something like - RELAY NOT ALLOWED, Recipient IS NOT A LOCAL ADDRESS., then you need to authenticate.

You can end the session here by entering q

But if tyou actually want to send a message, enter...
DATA

If you want a subject for your email Enter...
Subject: - Whatever -
(Press enter twice)

Enter the boby of your message

When you're done, enter a single period (.) on a line by itself followed by hitting Enter.

The mail server should reply with: 250 2.0.0 ... Message accepted for delivery
If it doesn't, hit Enter again.

Close the telnet session by entering  QUIT


Lead me not into temptation... I know the short cut, follow me.
Back to Top
byfobi View Drop Down
Newbie
Newbie
Avatar

Joined: 04 September 2004
Location: Turkey
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote byfobi Quote  Post ReplyReply Direct Link To This Post Posted: 06 November 2004 at 7:39pm
functions_send_mail.asp
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.