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
 mail settings using Gmail
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

brankin
Starting Member

3 Posts

Posted - 21 February 2010 :  10:02:10  Show Profile
I worked for two days trying to get Godaddy SMTP relay to work and was about to pitch this forum software when I tried Gmail as a relay server. It works perfectly!!! Here is the case statement for the cdosys

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

'Set and update fields properties
With Flds
.Item("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'cdoSendUsingPickup (1) cdoSendUsingPort (2) cdoSendUsingExchange (3)
.Item("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strMailServer 'this is the value passed from the Admin email setup
.Item("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 'this is the cdobasic enumeration Do not use quotes on an integer
.Item("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = true 'this is the statement that uses SSL
.Item("http://schemas.microsoft.com/cdo/configuration/sendusername") = "myGmailAddress@gmail.com"
.Item("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "myGmailPassword"
.item("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = 465 'Do not use quotes on an integer

End With
Flds.Update

Set objNewMail = Server.CreateObject("CDO.Message")
Set objNewMail.Configuration = iConf

'Format and send message
Err.Clear

objNewMail.To = strRecipients
objNewMail.From = strSender
objNewMail.Subject = strSubject
objNewMail.TextBody = strMessage
On Error Resume Next
objNewMail.Send
If Err <> 0 Then
Err_Msg = Err_Msg & "<li>Your request was not sent due to the following error: " & Err.Description & "</li>"
End if
Set Flds = nothing
Set iConf = nothing
Set objNewMail = nothing


In the admin email setup:
set the email server = smtp.gmail.com
set the administrator email address = your gmail address.

Hope this post will solve the problems other people are having with godaddy's relay servers. On a side note, godaddy support will not even talk to you about this problem.

Edited by - brankin on 21 February 2010 10:03:56

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 21 February 2010 :  10:46:48  Show Profile  Visit HuwR's Homepage
thankyou for posting, I'm sure it will indeed help other users
Go to Top of Page

lsurebel4
Starting Member

USA
19 Posts

Posted - 03 March 2010 :  12:45:49  Show Profile  Visit lsurebel4's Homepage
I am using GoDaddy, and I am having issues with user to user emailing each other through the forum, forum post, etc. The pop up looks great, but when they hit submit, they get a Error:500 Internal Server error. Does something need to be done to allow multiple people to relay though a Godaddy host? Email Acitvation works fine, and email from the ADMIN account works fine as well. Just user to user fails. Any thought?

I hate Work!
Go to Top of Page

AnonJr
Moderator

United States
5768 Posts

Posted - 03 March 2010 :  12:59:48  Show Profile  Visit AnonJr's Homepage
lsurebel4, you're already getting help in another topic. Please don't scatter the discussion in unrelated threads.
Go to Top of Page
  Previous Topic Topic Next Topic  
 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