VBScript Examples

ChilkatHOMEAndroid™ASPVisual BasicVB.NETC#iOS (IPhone)Objective-CC++CUnicode C++Unicode CMFCDelphi DLLDelphi ActiveXFoxProJavaPerlPHP ExtensionPHP ActiveXPythonPowerShellRubySQL ServerVBScript

VBScript Examples

Bounced Mail
Bz2
Character Encoding
Digital Certificates
CSV
Digital Signatures
Email
FTP
HTML Conversion
HTTP
IMAP
Encryption
MHT / HTML Email
POP3
PFX
RSA
S/MIME
SFTP
SMTP
Socket
Spider
SSH
SSH Key
SSH Tunnel
String
Tar
Upload
XML
XMP
Zip Compression
Self-Extractor

More Examples...
Amazon S3
Email Object
DKIM / DomainKey
NTLM
FileAccess
Byte Array
RSS
Atom
Service
PPMD
Deflate
DH Key Exchange
DSA
Bzip2
LZW

 

 

 

 

 

 

 

Google GMail SMTP Sending Email

Download Chilkat Email ActiveX

Send an email using smtp.gmail.com

set mm = CreateObject("Chilkat.MailMan2")
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("Chilkat.Email2")
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"

 

© 2000-2013 Chilkat Software, Inc. All Rights Reserved.