p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   BOOK: ASP.NET MVC Website Programming Problem Design Solution ISBN: 9780470410950 (http://p2p.wrox.com/forumdisplay.php?f=472)
-   -   Newsletter (http://p2p.wrox.com/showthread.php?t=75414)

zondre July 27th, 2009 01:35 PM

I noticed in the newsletter system that you are storing the html version for both the html and plain text version. I created a seperate text area for plain text and stored them seperately. And, I thought I had a brilliant idea to us an if statement to use the html version if they selected that in their profile or plain text otherwise. But, then I realized, you're only sending one e-mail and bcc'ing everyone that subscribed. So, I'm thinking I need to create two seperate pages one to send the plain text one and one to send the html version. And, then I need to create a seperate method for sendplainnewsletter. Does that sound about right? Do you intend to add this feature in the next version?

Then I have a related issue. Even though I send the html version, I receive it as plain text with all of the html tags. Is there a setting in mailsettings that will tell the e-mail server to send it as html?

Al_Katawazi July 28th, 2009 08:31 AM

Just send 2 emails and bcc the HTML users to that newsletter and the plain text to the others. Should be very easy to do

All times are GMT -4. The time now is 05:25 PM.

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