VB.NET Examples

ChilkatHOMEAndroid™ASPVisual BasicVB.NETC#iOS (IPhone)Objective-CC++CMFCDelphiFoxProJavaPerl
PHP ExtensionPHP ActiveXPythonPowerShellRubySQL ServerVBScript

VB.NET Examples

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

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

Byte Array
VB.NET FTPS
System.IO

 

 

 

 

 

 

Request Delivery Report when Sending Email

Download: Chilkat .NET Assemblies

VB.NET example program to send email with a delivery-report requested.

        ' Send an email with a request for a delivery report.
        mailman.UnlockComponent("Anything for 30-day trial")

        mailman.SmtpHost = "smtp.comcast.net"
        ' Set your SMTP username/password if needed:
        'mailman.SmtpUsername = "myUsername"
        'mailman.SmtpPassword = "myPassword"

        Dim email As New Chilkat.Email
        email.AddTo("Chilkat Support", "support@chilkatsoft.com")
        email.From = "Matt Fausey <fausey@chilkatsoft.com>"

        email.Subject = "Test email to request a delivery report"
        email.SetHtmlBody("<html><body><h1>This email is a test to request a MDN delivery report.</h1><p>Hello World!</p></body></html>")

        ' Request a delivery report.
        email.ReturnReceipt = True
        ' Send bounced emails to "bounce-handler@chilkatsoft.com"
        email.BounceAddress = "bounce-handler@chilkatsoft.com"

        Dim success As Boolean
        success = mailman.SendEmail(email)

        If (Not success) Then
            MessageBox.Show(mailman.LastErrorText)
        End If




 

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

Mail Component · XML Parser