CodeCharge Studio
search Register Login  

Web Reporting

Visually create Web Reports in PHP, ASP, .NET, Java, Perl and ColdFusion.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> ASP

 send email using gmail host with asp

Print topic Send  topic

Author Message
iyorshe

Posts: 2
Posted: 12/01/2009, 2:16 AM

can anybody help me
please i am trying 2 send email using this code and it is not working
ahe giving me this error to initialise starttls

here is code below

set Mailer = server.CreateObject("persits.MailSender")
Mailer.From = "support@softsmartsolutions.com"
Mailer.FromName = "Softsmart Business Solutions"
Mailer.Host = "smtp.gmail.com"
Mailer.username = " "
Mailer.password = " "
Mailer.IsHTML = True
Mailer.Subject = "Testing the email codes for employees reg at "&time() ' setting up the email's subject
Mailer.AddAddress "david.meshak@softsmartsolutions.com","David Meshak" ' setting up the reciever's email and name

Mailer.AddCC "david.meshak@softsmartsolutions.com","David Meshak"
Mailer.AddCC "smartbamshak@gmail.com","Bamshak"
' the major email body "gong gong" starts from here

Mailer.Body
View profile  Send private message
Edd


Posts: 547
Posted: 12/01/2009, 4:47 AM

GMail is not an SMTP provider.

Look out your ISP to see your SMTP instance.

It you use outlook look at the mail account for information.

Cheers
_________________
Accepting and instigating change are life's challenges.

http://www.syntech.com.au
View profile  Send private message

Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Web Database

Join thousands of Web developers who build Web applications with minimal coding.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright 2003-2004 by UltraApps.com  and YesSoftware, Inc.