Home » 2011 » May

Sending Email Through GMAIL using Classic ASP

Here’s the code to send an email through gmail using Classic ASP. I included notes for easy customization for beginners <% Set Mail = CreateObject(“CDO.Message”) Mail.Configuration.Fields.Item (“http://schemas.microsoft.com/cdo/configuration/sendusing”) = 2 Mail.Configuration.Fields.Item (“http://schemas.microsoft.com/cdo/configuration/smtpserver”) =”smtp.gmail.com” Mail.Configuration.Fields.Item (“http://schemas.microsoft.com/cdo/configuration/smtpserverport”) = 465 Mail.Configuration.Fields.Item (“http://schemas.microsoft.com/cdo/configuration/smtpusessl”) = 1 Mail.Configuration.Fields.Item (“http://schemas.microsoft.com/cdo/configuration/smtpconnectiontimeout”) = 60 Mail.Configuration.Fields.Item...

Continue reading »