PC SOFT

FORUMS PROFESSIONNELS
WINDEVWEBDEV et WINDEV Mobile

Accueil → WINDEV 2024 → Email Html vs Plain Text
Email Html vs Plain Text
Débuté par Rich, 23 juil. 2008 17:43 - 1 réponse
Posté le 23 juillet 2008 - 17:43
WD 11
I am using the built-in email functions to send email to customers.
Is there a function that will detect if the recipient can receive html formatted messages?
And, can the message be automatically formated as plain text?
Posté le 23 juillet 2008 - 17:57
Hi Rich,
The only way to know the preference of the recipient is when he tells you what is it's preference. (Normal mail does not contain such information.)
The vCard is used for that. If your contact has sent you a vCard in the past, such an option can be found in the vCard. (Look at Thunderbird, for example, where you can attach a vCard to your email and specify if you prefer HTML or Plain Text.)
This in the address book, you have an option to manually set that option for a contact. "This contact prefers html/text" when it is not set automatically because this contact has no vCard.
Best Regards.