When creating an email using the SMTP Mail Code Unit I Have this function which crerates the email. How can I use this and HTML to increase the font size on the email created, if possible.
I've not done HTML before but I had a little go as an example..
CLEAR(recEmail);
recEmail."Email No." := strEmailNo;
recEmail."Email Marker" := recEmail."Email Marker"::Line;
recEmail."Email Line" := ('<p> font-size: 4.0em;' + strLine + '</p>');
recEmail."Email Line Col 2" := strLine2;
recEmail."Email Table Start" := blnTableStart;
recEmail.INSERT(TRUE);
*This post is locked for comments
Hi,
You can use something like this though.
recEmail."Email Line" := ('<p style="font-size:160%;">' + strLine + '</p>');
This will be the HTML references:
<h1 style="font-size:300%;">This is a heading</h1>
<p style="font-size:160%;">This is a paragraph.</p>
Hope it helps.
Check this link you need to embed you text in the HTML Tags, there is an example or screenshot in the below blog
Sohail Ahmed
2
mmv
2
Amol Salvi
2