Chilkat
HOME
Android™
ASP
Visual Basic
VB.NET
C#
iOS (IPhone)
Objective-C
C++
C
MFC
Delphi
FoxPro
Java
Perl
PHP Extension
PHP ActiveX
Python
PowerShell
Ruby
SQL Server
VBScript
Request Delivery Report when Sending EmailDownload: 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.