VBScript Examples

ChilkatHOMEASPVisual BasicVB.NETC#Visual C++CMFCDelphiFoxProJavaPerlPHPPythonRubySQL ServerVBScript



VBScript Examples

Bounced Mail
Character Encoding
Digital Certificates
Digital Signatures
Email
FTP
HTML-to-XML
HTTP
IMAP
Encryption
MHT / HTML Email
PFX
RSA Encryption
S/MIME
Socket
Spider
String
Tar
Upload
XML
XMP
Zip Compression
Self-Extractor

More Examples...
Email Object
POP3
SMTP
Byte Array
RSS
Atom
Service
PPMD
Deflate
DH Key Exchange
DSA
SSH Key
SSH
SSH Tunnel
SFTP

Unreleased...
Bzip2
LZW
Bz2
Icon

 

 

 

 

 

 

 

Google GMail SMTP Sending Email

Send an email using smtp.gmail.com

set mm = CreateObject("ChilkatMail2.ChilkatMailMan2")
mm.UnlockComponent "test"

'     SMTP server: smtp.gmail.com.
'     Port: 465.
'     Require SSL/STARTTLS: Yes.
'     Require SMTP authentication: Yes.
'     User name: your Gmail email address.
'     Password: your Gmail password. 

mm.SmtpHost = "smtp.gmail.com"
mm.SmtpPort = 465
mm.SmtpSsl = 1
mm.SmtpUsername = "****"
mm.SmtpPassword = "****"

set email = CreateObject("ChilkatMail2.ChilkatEmail2")
email.Subject = "test from Chilkat"
email.Body = "this is a test for our customer"
email.AddTo "Chilkat Support","support@chilkatsoft.com"
email.From = SmtpUsername

mm.SendEmail email

MsgBox mm.LastErrorText
mm.SaveLastError "error.txt"

 

Need a specific example? Send a request to support@chilkatsoft.com

© 2003-2008 Chilkat Software, Inc. All Rights Reserved.

Mail Component · XML Parser