VBScript Examples

ChilkatHOMEAndroid™ASPVisual BasicVB.NETC#iOS (IPhone)Objective-CC++CMFCDelphiFoxProJavaPerl
PHP 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

 

 

 

 

 

 

 

Send HTML Email with Embedded GIF Image

Download Chilkat Email ActiveX

Sends an HTML email with an embedded GIF file. This email will display correctly in email clients, including online clients such as Hotmail.com

set mm = CreateObject("Chilkat.MailMan2")
mm.UnlockComponent "test"

mm.SmtpHost = "smtp.comcast.net"

set email = CreateObject("Chilkat.Email2")
email.Subject = "test HTML email with embedded graphic"
email.AddTo "Chilkat","admin@chilkatsoft.com"

cid = email.AddRelatedFile("dudeMail.gif")

email.SetHtmlBody "<html><body>This is a test<br><img src=""CID:" + cid + """><br>This is a test</body></html>"
email.From = "Chilkat <support@chilkatsoft.com>"
mm.SendEmail email

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

 

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

Mail Component · XML Parser