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
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

Lang79james
Starting Member

8 Posts

Posted - 29 June 2008 :  16:59:12  Show Profile  Visit Lang79james's Homepage
Wow I knew I got it working before some people shown that they where stupid and hacked my site but I dont remember doing all of this stuff. Now I have edit and replaced all the coding that was used above. My gmail address works like a champ but.... when I set up an user with the my yahoo email account I do not get nothing in the mail box(reg nor spam).

edit and update
Now I done some research on here and now I get messages sent to my gmail account

This is an automatically generated Delivery Status Notification.

Delivery to the following recipients failed.

lang79james@mail.com




Final-Recipient: rfc822;lang79james@mail.com
Action: failed
Status: 5.5.0
Diagnostic-Code: smtp;554 EMail from mailserver at 66.68.102.157 is refused. See http://spamblock.outblaze.com/66.68.102.157

So like anyone that does get this I went to the link saying that I can remove the IP address from the block IP but I do not have a static IP and do not want to be held responsible for it when it changes. Or that I need to turn on"SMTP Authentication"


My code for the inc_mail.asp is:"I know some of the coding is wrong in few areas the errors that have code, code are things I have tried
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") = 1,cdoBasic '1 cdoBasic
Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") = "lang79james,lang79james@gmail.com" 'forum@yourdomain.com
Flds("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "password goes here" ' Whatever your password is.
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = "465"
'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 goto 0
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
case "dkqmail"
Set objNewMail = Server.CreateObject("dkQmail.Qmail")
objNewMail.FromEmail = strSender
objNewMail.ToEmail = strRecipients
objNewMail.Subject = strSubject
objNewMail.Body = strMessage
objNewMail.CC = ""
objNewMail.MessageType = "TEXT"
on error resume next '## Ignore Errors
objNewMail.SendMail()
If Err <> 0 Then<

Edited by - Lang79james on 29 June 2008 22:37:45
Go to Top of Page

GremlinSA
Starting Member

South Africa
2 Posts

Posted - 18 March 2009 :  03:55:34  Show Profile  Visit GremlinSA's Homepage
Seem google has changed there Gmail systems ...

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") = 1 'cdoBasic
Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") = "admin@forum.co.za" 'forum@yourdomain.com
Flds("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "thepassword" ' Whatever your password is.
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserverport") = "25"

are the settings that i had to use to get my mail up and running ...

Spent a week on it ...


What ever is eating at you, must be suffering horribly.

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.08 seconds. Powered By: Snitz Forums 2000 Version 3.4.07