Print Page | Close Window

SMTP Server?

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=11654
Printed Date: 30 March 2026 at 4:12am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: SMTP Server?
Posted By: k6irk
Subject: SMTP Server?
Date 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

 




Replies:
Posted By: dpyers
Date 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.


Posted By: k6irk
Date 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/smtpauthentic - http://schemas.microsoft.com/cdo/configuration/smtpauthentic ate) = 1
.Fields( http://schemas.microsoft.com/cdo/configuration/sendusername - http://schemas.microsoft.com/cdo/configuration/sendusername ) = "SMTPAUTHUser"
.Fields( http://schemas.microsoft.com/cdo/configuration/sendpassword - 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.



Posted By: dpyers
Date 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 - http://www.ehost.com/knowledgebase/read_article.bml?kbid=997

 



-------------

Lead me not into temptation... I know the short cut, follow me.


Posted By: dpyers
Date 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 http://www.mydomain.com - 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 http://www.mydomain.com - www.mydomain.com ... Generic Greeting messages

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

Should Return...
250 2.1.0 mailto:me@mydomain.com - me@mydomain.com ... Sender ok

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

Should Return...
250 2.1.0 mailto:someone@anotherdomain.com - 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.


Posted By: byfobi
Date Posted: 06 November 2004 at 7:39pm
functions_send_mail.asp

-------------
http://forum.takil.net



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net