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 Does not Send Through Google Hosted Email
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

lsurebel4
Starting Member

USA
19 Posts

Posted - 12 January 2007 :  11:47:27  Show Profile  Visit lsurebel4's Homepage
Hi all!

I tried searching the forums with out much luck. I have my domain's email hosted through the new google hosted accounts. I am having some issues with Email being sent from the forum. I can't get Snitz to send an email for Validation purposes, nor for changing passwords, or sending to other users in the forum.

I am using CDOSYS.

1.What is the SMTP server for my hosted email through Google?? I tried mail.mydomain.com and that does not seem to work.

2. Is my code here correct on the inc_mail.asp file?

case "cdosys"
Set iConf = Server.CreateObject ("CDO.Configuration")
Set Flds = iConf.Fields

'Set and update fields properties
Flds("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'cdoSendUsingPort
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strMailServer = "mail.mydomain.com"
Flds("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 'cdoBasic
Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") = "username"
Flds("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "password"
'Flds("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = "465"
'SmtpMail.SmtpServer = "mail.mydomain.com"
Flds.Update

Am I missing anything?


ANY HELP WOULD BE VERY APPRECIATIVE!! THANKS!<

I hate Work!

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 12 January 2007 :  12:02:33  Show Profile  Send ruirib a Yahoo! Message
The outgoing server should be: smtp.gmail.com
<


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

lsurebel4
Starting Member

USA
19 Posts

Posted - 12 January 2007 :  12:03:04  Show Profile  Visit lsurebel4's Homepage
Thanks. Trying that now.<

I hate Work!
Go to Top of Page

lsurebel4
Starting Member

USA
19 Posts

Posted - 12 January 2007 :  12:06:46  Show Profile  Visit lsurebel4's Homepage
I am still getting an error that say "Failed to connect to transport server"<

I hate Work!
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 12 January 2007 :  12:07:10  Show Profile
I also have my emails hosted on google, but not sure if you will be able to get it to send email from your site. If you do get it work, would be interested to know.<

Support Snitz Forums
Go to Top of Page

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 12 January 2007 :  12:08:11  Show Profile  Send pdrg a Yahoo! Message
firewall?<
Go to Top of Page

lsurebel4
Starting Member

USA
19 Posts

Posted - 12 January 2007 :  12:13:41  Show Profile  Visit lsurebel4's Homepage
None sir!<

I hate Work!
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 12 January 2007 :  13:03:38  Show Profile
I think I'll send the query to google and see if they can provide any help on it.<

Support Snitz Forums
Go to Top of Page

lsurebel4
Starting Member

USA
19 Posts

Posted - 12 January 2007 :  14:02:29  Show Profile  Visit lsurebel4's Homepage
Thanks everyone. Please let me know if you receive any feedback. If I can get it to work I can create a detailed instruction checklist for users in the future.<

I hate Work!
Go to Top of Page

pdrg
Support Moderator

United Kingdom
2897 Posts

Posted - 12 January 2007 :  14:19:50  Show Profile  Send pdrg a Yahoo! Message
What do you usually use as a client for the gmail hosted mail?
Also wondering if you've got TLS or IPSEC or something going on, preventing connection?<
Go to Top of Page

lsurebel4
Starting Member

USA
19 Posts

Posted - 12 January 2007 :  14:21:23  Show Profile  Visit lsurebel4's Homepage
My site is hosted by Ipowerweb.com. All I did to move the email to Google is change the MX record for the domain to point to google's server instead of Ipowerweb's servers. No IPSec of TLS going on that I am aware of. If google does that behind the scenese, that is news to me.

The client that I use to check my email through the google host is provided via the Web by google.

https://www.google.com/a/mydomain.com/

I just noticed that the URL to access the email portal is https://

Do I need to add something for SSL?<

I hate Work!

Edited by - lsurebel4 on 12 January 2007 14:25:11
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 12 January 2007 :  14:37:49  Show Profile
Yes, both Gmail's SMTP and POP uses secure connection. Thought you knew that (if you had setup any email client for pop access)?
TLS is used for the SMTP on port 587.

The info for their email server is here: http://mail.google.com/support/bin/answer.py?answer=13287&topic=1556

I didn't get port 465 to work with my email client, so I used the next one, 587.<

Support Snitz Forums

Edited by - Davio on 12 January 2007 14:41:33
Go to Top of Page

lsurebel4
Starting Member

USA
19 Posts

Posted - 12 January 2007 :  14:39:58  Show Profile  Visit lsurebel4's Homepage
So what do I need to add to my code to allow the forums email to get working? Thanks for your help. You learn something new everyday!<

I hate Work!

Edited by - lsurebel4 on 12 January 2007 14:41:08
Go to Top of Page

lsurebel4
Starting Member

USA
19 Posts

Posted - 12 January 2007 :  15:02:00  Show Profile  Visit lsurebel4's Homepage
I changed 465 to 587 in the code and that didn't help. Here is the code that I have now. Also note that I have the following Config inside the "Email Configuration" peice.

Select Email Component: CDOSYS (IIS 5/5.1/6)
Email Mode: ON
Email Server Address: smtp.gmail.com
Administrator email address: admin@mydomain.com
Required Unique email: ON
E-Mail Validation: ON
Restrict Registration: OFF
Requuired Login For sending mail: ON



CODE FOR THIS:


case "cdosys"
Set iConf = Server.CreateObject ("CDO.Configuration")
Set Flds = iConf.Fields

'Set and update fields properties
Flds("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'cdoSendUsingPort
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strMailServer = "smtp.gmail.com"
Flds("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 'cdoBasic
Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") = "username@mydomain.com"
Flds("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "password"
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = "587"
'SmtpMail.SmtpServer = "mail.mydomain.com"
Flds.Update<

I hate Work!

Edited by - lsurebel4 on 12 January 2007 15:02:59
Go to Top of Page

lsurebel4
Starting Member

USA
19 Posts

Posted - 12 January 2007 :  17:22:18  Show Profile  Visit lsurebel4's Homepage
******UPDATED***** EMAIL WORKS WITH GMAIL HOSTED ACCOUNT. USE THE CODE BELOW. Thanks for other time in helping me.

case "cdosys"
Set iConf = Server.CreateObject ("CDO.Configuration")
Set Flds = iConf.Fields

'Set and update fields properties
Flds("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'cdoSendUsingPort
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strMailServer = "smtp.gmail.com"
Flds("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = True 'Use SSL for the connection (True or False)
Flds("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = cdoBasic
Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") = "username" 'forum@yourdomain.com
Flds("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "password" ' Whatever your password is.
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = "465"
'Flds.Update<

I hate Work!
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 12 January 2007 :  19:45:05  Show Profile
Yeah, I saw that field property, 'smtpusessl', but being clueless on CDO and having no way to test it, didn't know if that was the only thing needed to make it work.

Good job. Now let me see I can configure JMail to work with Google for Hosted Domains. <

Support Snitz Forums
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
Next 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.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07