Print Page | Close Window

Email Issues :\

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=17224
Printed Date: 17 April 2026 at 11:29am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Email Issues :\
Posted By: lodogg
Subject: Email Issues :\
Date Posted: 11 November 2005 at 5:12pm
I have tried the following 2 programs installed and working:

  • ASPEmail
  • CDOSYS

They are both installed but I seem to be having issue sending mail once I upgraded my forum?

I have SMTP installed on the server and I have the correct relay host entered but I still can't seem to send e-mail?

Any suggestions on trouble shooting this would be great.  I previously used my internal IP address of my mail server and it worked fine.  But after the upgrade it now bombs out, but no errors are reported on the page? Angry

I tried using localhost and 127.0.0.1 too?

Thanks in Advance!!

Lo


-------------
Just trying to have some fun and learn in the process.
http://www.lodogg.com - Come have Some Fun



Replies:
Posted By: dj air
Date Posted: 11 November 2005 at 5:55pm
do you require email authentification it maybe the issue

also check if the IP Address is black listed at whois.sc/ipaddress or dnsstuff.com


also check about any limitations




Posted By: lodogg
Date Posted: 11 November 2005 at 7:03pm

The mail server and web server are on a flat network and the web server is aloud to relay off the mail server so there should not be an authentication issues? 

The only thing that has changed is the fact that I upgraded the website to the newest version?

I checked the mail logs and when I make a post it doesn''t even seem to hit the mail server at all.  Is there any scripts I can use to test mailing with *.asp?

Thanks,

Lo


-------------
Just trying to have some fun and learn in the process.
http://www.lodogg.com - Come have Some Fun


Posted By: dj air
Date Posted: 11 November 2005 at 7:07pm
paste this within a asp page



<!--METADATA TYPE="typelib"
UUID="CD000000-8B95-11D1-82DB-00C04FB1625D"
NAME="CDO for Windows 2000 Library" -->
<!--METADATA TYPE="typelib"
UUID="00000205-0000-0010-8000-00AA006D2EA4"
NAME="ADODB Type Library" -->
<%
Dim objMail
Set objMail = Server.CreateObject("CDO.Message")
Set objConfig = Server.CreateObject("CDO.Configuration")

'Configuration:
objConfig.Fields(cdoSendUsingMethod) = cdoSendUsingPort

objConfig.Fields(cdoSMTPServer)="localhost"
objConfig.Fields(cdoSMTPServerPort)=25
objConfig.Fields(cdoSMTPAuthenticate)=cdoBasic


'Update configuration
objConfig.Fields.Update
Set objMail.Configuration = objConfig

objMail.From ="emal address2"
objMail.To = "email address"
objMail.Subject ="Test ofCDO"
objMail.TextBody="This is a test for CDO.message"
objMail.Send

If Err.Number = 0 Then
  Response.Write("Mail sent!")
Else
  Response.Write("Error sending mail. Code: " & Err.Number)
  Err.Clear
End If
Set objMail=Nothing
Set objConfig=Nothing
%>



see what that does just cjange the falues for the email addresses


Posted By: lodogg
Date Posted: 14 November 2005 at 10:40am
The above script works fine.  I put my mail server's IP in
 
objConfig.Fields(cdoSMTPServer)="MailServerIP"
 
 
And I put in my e-mail address in the following:
 
objMail.From ="emal address2"
objMail.To = "email address"
 
And it worked great!  I have the following setup in my forum:
 
CDOSYS
E-mail Server's IP
 
And when I do a test post I get the error below:
 
error '8004020f'

/forum/functions/functions_send_mail.asp, line 198

Thanks,

 
-lo


-------------
Just trying to have some fun and learn in the process.
http://www.lodogg.com - Come have Some Fun


Posted By: lodogg
Date Posted: 15 November 2005 at 6:31pm
Does anybody have any more trouble shooting steps I could follow to fix this issueCry
 
Thanks,
-lo


-------------
Just trying to have some fun and learn in the process.
http://www.lodogg.com - Come have Some Fun


Posted By: lodogg
Date Posted: 16 November 2005 at 10:08am
It seems to be working fine now?
 
I added the correct mail server IP:\  Then I restarted the WWW and SMTP service and now it's working!
 
Thanks to all who helped! Thumbs Up


-------------
Just trying to have some fun and learn in the process.
http://www.lodogg.com - Come have Some Fun



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