wwipstuff::cMessageAlternate

Allows you to specify alternate content for a message. Allows mixed content message for example that send text and Html so that that non-html email clients can read the text as text and html clients can see the Html

*** Standard Content
loIP.
loIP.cMessage = "Say what you mean and mean what you say!"

*** Html Content:
loIP.cMessageAlternate = "<b>Hello world from HTML</b>"
loIP.contenttypealternate = "text/html"


o.cMessageAlternate

Example

loIP = CREATE("wwIPStuff")
...
oIP.cMessage = "Hello World"
oIP.cContentType = "text/plain"

oIP.cMessageAlternate = "<b>Hello World!</b>"
oIP.cContentTypeAlternate = "text/html"
...
oIP.SendMail()

See also:

Class wwipstuff | Sending Messages with Html and Text body


  Last Updated: 1/25/2007 | © West Wind Technologies, 2008