Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: Mail Configuration
 Email Domain Issue - IIS 6 - IIS 7 - CDO
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

Podge
Support Moderator

Ireland
3775 Posts

Posted - 27 August 2009 :  11:48:00  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Also, try this

'Set and update fields properties
Flds("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'cdoSendUsingPort
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.gmail.com"
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = "25"
Flds("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = True
Flds("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 'cdoBasic
Flds("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 600
Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") = "myemailid@domain.com"
Flds("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "password"
Flds.Update

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

sikandar
Junior Member

Pakistan
135 Posts

Posted - 27 August 2009 :  11:54:17  Show Profile

My pc is directly connect with DSL modem so no proxy even.
and with this port settings following error,

Send an E-MAIL Message

error '8004020e'
/inc_mail.asp, line 149
Go to Top of Page

sikandar
Junior Member

Pakistan
135 Posts

Posted - 27 August 2009 :  11:57:39  Show Profile
You mean I need to check at hosting side if these ports are not blocked there? If so I have just requested to check. tks
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 28 August 2009 :  06:50:26  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Have you set a valid email address in your Email Server Config page ? i.e. the From email address for all mail sent from the forum must be valid.

Are you hosting the forum on your computer or at a hosting company ?

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

sikandar
Junior Member

Pakistan
135 Posts

Posted - 28 August 2009 :  08:19:47  Show Profile
Select E-mail Component: CDOSYS (IIS 5/5.1/6)
E-mail Server Address: smtp.google.com
Administrator E-mail Address: admin@mydomain.com

'Set and update fields properties
Flds("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'cdoSendUsingPort
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserver") = "smtp.gmail.com"
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = "25" << tried 465 & 567
Flds("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = True
Flds("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 'cdoBasic
Flds("http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout") = 600
Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") = "admin@mydomain.com"
Flds("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "password"
Flds.Update

I am able to login using admin@mydomain.com in google mail.

Please let me know what is still missing.

It is hosted with a hosting company.

tks
Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 28 August 2009 :  09:56:30  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Does your host have any info about sending email through their servers ? A link or working code would help. You could send email via their system and still set the from email address to admin@mydomain.com

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20579 Posts

Posted - 28 August 2009 :  10:43:42  Show Profile  Visit HuwR's Homepage
try replacing the cdosys code in inc_mail for the code listed in this post

http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=66471
Go to Top of Page

sikandar
Junior Member

Pakistan
135 Posts

Posted - 28 August 2009 :  11:38:24  Show Profile
I just made these changed with one change On Error goto 0 but same issue,

Sending E-Mail

error '8004020e'
/inc_mail.asp, line 148
Go to Top of Page

sikandar
Junior Member

Pakistan
135 Posts

Posted - 28 August 2009 :  11:49:58  Show Profile

1- I was using hosting email system.
2- Changed to google and hosting guys updated dns etc.
3- I am able to directly send or receive emails and also using outlook.
4- When I am using google account on web site it is giving error.

Thanks

quote:
Originally posted by Podge

Does your host have any info about sending email through their servers ? A link or working code would help. You could send email via their system and still set the from email address to admin@mydomain.com

Go to Top of Page

Podge
Support Moderator

Ireland
3775 Posts

Posted - 28 August 2009 :  12:22:48  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Before line 148 (where you get the error) can you include the following code ? Just checking that the From address is a legal email address;
Response.write("Email address=" & strSender & ".")
I have seen a few posts stating that error 8004020e is because of an illegal From email address.

Podge.

The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)

My Mods: CAPTCHA Mod | GateKeeper Mod
Tutorial: Enable subscriptions on your board

Warning: The post above or below may contain nuts.
Go to Top of Page

sikandar
Junior Member

Pakistan
135 Posts

Posted - 28 August 2009 :  13:06:44  Show Profile
It is same as,

Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") = "admin@mydomain.com"
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20579 Posts

Posted - 28 August 2009 :  13:23:45  Show Profile  Visit HuwR's Homepage
quote:
Originally posted by sikandar

It is same as,

Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") = "admin@mydomain.com"


No it isn't, you obviously didn't bother reading the replies.

http://forum.snitz.com/forum/topic.asp?ARCHIVE=true&TOPIC_ID=66471#374854
Go to Top of Page

sikandar
Junior Member

Pakistan
135 Posts

Posted - 28 August 2009 :  14:27:47  Show Profile
Thanks HuwR for pointing me to the link but unfortunately there is confusion I am facing so need guidance. I have read all these and struggling with this for last 1 week. Let me explain,

1 Week Earlier
I was using hosting email facility so E-mail Server Address was IP of their email server.
Administrator E-mail Address: and Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") were same.
--------------
Last week
I created my domain on google and requested my hosting guys to redirect my emails dns to google. So now if I use mail.mydomain.com then it will redirect to google.
Now my confusion is should I keep an account on hosting side and if so then how that will work due to change in dns settings. Thats why I am keeping in both places my email that is now on google domain admin@mydomain.com.

Pl guide me where I am doing wrong. thanks
Go to Top of Page

sikandar
Junior Member

Pakistan
135 Posts

Posted - 29 August 2009 :  08:21:58  Show Profile

It is same because I am sending test email to admin using admin account and his ID is the same.

quote:
Originally posted by sikandar

It is same as,

Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") = "admin@mydomain.com"

Go to Top of Page

sikandar
Junior Member

Pakistan
135 Posts

Posted - 30 August 2009 :  00:33:18  Show Profile
I figured out the issue which was with code may be updated accidently,

Flds("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = cdoBasic

changed to

Flds("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1

Thanks
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Previous Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07