csource
  •  csource
  • 58.8% (Neutral)
  • YAF Forumling Topic Starter
2009-08-14T17:04:04Z
I have integrated YAF with my own applications membership provider and each user can assign a preference to receive HTML or TEXT emails. this preference is stored in <add name="EmailPref" type="String" /> property in the main applications web.config.

If a user prefers HTML emails over TEXT, how do we use this to send out for example the PMNOTIFICATION_HTML content instead of PMNOTIFICATION_TEXT content in the file english.xml?

thanks for the help.
Sponsor
Jaben
  •  Jaben
  • 100% (Exalted)
  • YAF Developer
2009-08-14T17:54:05Z
It automatically sends out BOTH types in EACH email. It's your users' email client that decides which to display.

A side note: mail server rates emails with only HTML body significantly higher as spam.

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved