Wrox Programmer Forums
|
Classic ASP Professional For advanced coder questions in ASP 3. NOT for ASP.NET 1.0, 1.1, or 2.0.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Professional section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 28th, 2012, 02:17 PM
Authorized User
 
Join Date: Sep 2004
Posts: 68
Thanks: 1
Thanked 0 Times in 0 Posts
Default List-Unsubscribe: How do I add this to my e-mail?

Good afternoon.

Below is the beginning code for my bulk e-mails in asp.

What is the code to add the List-Unsubscribe header?

Thank you!

Sal

set objEmail = server.CreateObject("CDONTS.NewMail")
objEmail.To = session("sesEmailTo")
objEmail.From = session("sesEmailFrom")
objEmail.CC = session("sesEmailCC")
objEmail.BCC = session("sesEmailBCC")
objEmail.value("Reply-To") = session("sesEmailReply")
objEmail.Subject = session("sesEmailSubject")
 
Old December 31st, 2012, 10:04 AM
Friend of Wrox
 
Join Date: Sep 2005
Posts: 166
Thanks: 2
Thanked 33 Times in 33 Posts
Default

How did you set the Reply-To header?
 
Old January 3rd, 2013, 03:37 PM
Authorized User
 
Join Date: Sep 2004
Posts: 68
Thanks: 1
Thanked 0 Times in 0 Posts
Default

I think I figured it out:

objEmail.value("List-Unsubscribe") = "<mailto:[email protected]>"





Similar Threads
Thread Thread Starter Forum Replies Last Post
need to add a reference to System.Net.Mail erik BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 3 January 9th, 2011 04:17 PM
add a custom field to a mail item [email protected] Visual Studio 2005 0 May 15th, 2006 10:25 AM
Unable to unsubscribe from forums tlbacon527 Forum and Wrox.com Feedback 3 February 27th, 2004 10:27 AM
e-mail list for clubs Mitch Beginning PHP 1 October 27th, 2003 02:32 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.