12/27/2011 15:03 p.m.
Adding Friendly "From" Name e.g. John Doe
If you're looking to add friendly names to your FROM address, e.g. "John Doe <john@doe.com>", the following is a working example that is compatible with most popular servers, including Exchange, Sendmail, and services such as Gmail, Yahoo and MSN.
<MvCOMMENT>It is important clear output level to avoid inserting blank space or line feeds into the wrong areas of the MvSMTP function</MvCOMMENT><MIVASTANDARDOUTPUTLEVEL=""><MvCOMMENT>"From" address contains "John Doe" in parenthesis for friendly name</MvCOMMENT><MvASSIGNNAME="l.to"VALUE="{ 'test@example.com' }>"<MvASSIGNNAME="l.from"VALUE="{ 'john@doe.com(John Doe)' }>"<MvASSIGNNAME="l.subject"VALUE="{ 'Testing' }>"<MvASSIGNNAME="l.server"VALUE="{ 'localhost' }>"<MvASSIGNNAME="l.lf"VALUE="{asciichar(13) $ asciichar(10)}>"<MvSMTPTO="{ l.to }"FROM="{ l.from }"SUBJECT="{ l.subject }"MAILHOST="{ l.server }>"<MvEVALEXPR="{ l.lf $ 'Message Body' }>"</MvSMTP>