VB.NET Examples

ChilkatHOMEASPVisual BasicVB.NETC#Visual C++CMFCDelphiFoxProJavaPerlPHPPythonRubySQL ServerVBScript

VB.NET 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
Tar Archive
Upload
XML
XMP
Zip Compression
Misc

More Examples...
Email Object
POP3
SMTP
RSS
Atom
Self-Extractor
Service
PPMD
Deflate
DH Key Exchange
DSA

Byte Array
VB.NET FTPS
System.IO

Unreleased...
Bzip2
LZW
Bz2
Icon

 

 

 

 

 

 

Request Delivery Report when Sending Email

Download Chilkat .NET for 2.0 / 3.5 Framework

Download Chilkat .NET for 1.0 / 1.1 Framework

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




 

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

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

Mail Component · XML Parser