Web Wiz - Green Windows Web Hosting - Celebrating 25 Years!

  New Posts New Posts RSS Feed - Email Issues :\
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Email Issues :\

 Post Reply Post Reply
Author
lodogg View Drop Down
Groupie
Groupie


Joined: 22 August 2003
Location: United States
Status: Offline
Points: 161
Post Options Post Options   Thanks (0) Thanks(0)   Quote lodogg Quote  Post ReplyReply Direct Link To This Post Topic: Email Issues :\
    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.
Come have Some Fun
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post 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


Back to Top
lodogg View Drop Down
Groupie
Groupie


Joined: 22 August 2003
Location: United States
Status: Offline
Points: 161
Post Options Post Options   Thanks (0) Thanks(0)   Quote lodogg Quote  Post ReplyReply Direct Link To This Post 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.
Come have Some Fun
Back to Top
dj air View Drop Down
Senior Member
Senior Member
Avatar

Joined: 05 April 2002
Location: United Kingdom
Status: Offline
Points: 3627
Post Options Post Options   Thanks (0) Thanks(0)   Quote dj air Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
lodogg View Drop Down
Groupie
Groupie


Joined: 22 August 2003
Location: United States
Status: Offline
Points: 161
Post Options Post Options   Thanks (0) Thanks(0)   Quote lodogg Quote  Post ReplyReply Direct Link To This Post 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.
Come have Some Fun
Back to Top
lodogg View Drop Down
Groupie
Groupie


Joined: 22 August 2003
Location: United States
Status: Offline
Points: 161
Post Options Post Options   Thanks (0) Thanks(0)   Quote lodogg Quote  Post ReplyReply Direct Link To This Post 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.
Come have Some Fun
Back to Top
lodogg View Drop Down
Groupie
Groupie


Joined: 22 August 2003
Location: United States
Status: Offline
Points: 161
Post Options Post Options   Thanks (0) Thanks(0)   Quote lodogg Quote  Post ReplyReply Direct Link To This Post 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.
Come have Some Fun
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.