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: General / Classic ASP versions(v3.4.XX)
 Mail Sending Problem
 New Topic  Topic Locked
 Printer Friendly
Previous Page
Author Previous Topic Topic Next Topic
Page: of 2

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 14 May 2005 :  20:11:54  Show Profile  Send ruirib a Yahoo! Message
2. Those are web server email components you can choose from to have email related functionality from your web server.
3. You could choose any of them. I like Jmail, personally.
4. If they show up, then they are installed.

Don't understand the question regarding gmail, sorry.


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

dubosegriffin
Starting Member

USA
22 Posts

Posted - 17 May 2005 :  07:52:32  Show Profile  Send dubosegriffin an AOL message  Send dubosegriffin a Yahoo! Message
I have everything set up as below. I removed my password from below but it is correctly filled in in the code. Everything is set up as you told me. When I send an email to the admins only, it says that the email has been sent. I receive no email in my account. I also receive no error notes.

Please advise,

DuBose



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
Flds("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = cdoBasic
Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") = "charlestonultimate@gmail.com"
Flds("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "password"
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
Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 17 May 2005 :  08:28:48  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Try changing the

On Error Resume Next

to

On Error goto 0

and see if it throws up an error.

Everything looks ok to me (assuming you have smtp.gmail.com as the mail server). I'll test it out when I get home from work and see if I can figure out whats going wrong.

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

dubosegriffin
Starting Member

USA
22 Posts

Posted - 17 May 2005 :  22:39:31  Show Profile  Send dubosegriffin an AOL message  Send dubosegriffin a Yahoo! Message
ok,

I made the change that you suggested above and here is the error that i received. Please advise! Thank you!


Sending E-Mail

CDO.Message.1 error '80040213'

The transport failed to connect to the server.

/forum/inc_mail.asp, line 143
Go to Top of Page

dubosegriffin
Starting Member

USA
22 Posts

Posted - 17 May 2005 :  22:59:19  Show Profile  Send dubosegriffin an AOL message  Send dubosegriffin a Yahoo! Message
PS

I have tried smtp.gmail.com, mail.gmail.com, smtp.gmail.com:465, gmail.google.com, www.gmail.google.com and www.gmail.com, all with the same error code.

DuBose
Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 18 May 2005 :  06:43:42  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Hmmm..

You could try adding this line. It should force a secure connection between your webserver and smtp.gmail.com;

Flds("http://schemas.microsoft.com/cdo/configuration/smtpusessl") = True

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

dubosegriffin
Starting Member

USA
22 Posts

Posted - 18 May 2005 :  07:09:42  Show Profile  Send dubosegriffin an AOL message  Send dubosegriffin a Yahoo! Message
That did not work either. I tried using a different SMTP and I changed the port and user name and password to reflect that account. I am still getting the same error.



DuBose
Go to Top of Page

Podge
Support Moderator

Ireland
3776 Posts

Posted - 18 May 2005 :  08:24:10  Show Profile  Send Podge an ICQ Message  Send Podge a Yahoo! Message
Do you have a firewall running on the computer the asp script is running on?
If you have, turn it off and try again.

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

Phil Brooker
Starting Member

USA
2 Posts

Posted - 25 May 2005 :  17:21:26  Show Profile
I was having the identical problem, except my web host uses Mail Enable. Here's what finally worked for me:

'Set and update fields properties
Flds("http://schemas.microsoft.com/cdo/configuration/sendusing") = 2 'cdoSendUsingPort
Flds("http://schemas.microsoft.com/cdo/configuration/smtpserver") = strMailServer
Flds("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate") = 1 'cdoBasic
Flds("http://schemas.microsoft.com/cdo/configuration/sendusername") = "user@domain"
Flds("http://schemas.microsoft.com/cdo/configuration/sendpassword") = "password"
Flds.Update

You may have to specify the port for gmail, but the key to eliminating the errors was using 1 instead of cdoBasic.

Phil
Go to Top of Page

jeffery
Junior Member

USA
176 Posts

Posted - 05 August 2005 :  23:10:32  Show Profile
Thank you Phil, I tried this with Gmail and it works!

www.thomasforum.com
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.38 seconds. Powered By: Snitz Forums 2000 Version 3.4.07