Hi guys,
Is it possible to insert a picture or change font color in the email body of the Debtors Statement?
So a signature or seasonal greeting can be included in the email.
Kind regards,
Ivy
<h1><font color="blue">Customer Statement</font></h1>
Dear Customer,</br>
</br>
Please find attached your latest debtor statement.</br>
</br>
Regards,</br>
</br>
Jiwa Financials<br />
<br />
<img src="http://www.jiwa.com.au/images/logo.png" />
UPDATE SY_SysValues
SET Contents = '
<h1><font color="blue">Customer Statement</font></h1>
Dear Customer,</br>
</br>
Please find attached your latest debtor statement.</br>
</br>
Regards,</br>
</br>
Jiwa Financials<br />
<br />
<img src="http://www.jiwa.com.au/images/logo.png" />
'
WHERE IDKey = 'EmailDebtorStatementBody'
AND Section = 'DebtorParams'
<span style=""FONT-FAMILY: Arial,sans-serif;COLOR: black;"">
<img alt="""" src=""EmailHeader.jpg"" border=""0"" align=""top"">
</span>
JiwaFinancials.Jiwa.JiwaApplication.Manager manager = salesorder.Manager;
JiwaFinancials.Jiwa.JiwaApplication.JiwaEmail.EmailMessage email = manager.BusinessLogicFactory.CreateBusinessLogic<JiwaFinancials.Jiwa.JiwaApplication.JiwaEmail.EmailMessage>(null);
email.CreateNew();
email.BodyIsHTML = true;
JiwaFinancials.Jiwa.JiwaApplication.Documents.Document hdoc = manager.CollectionItemFactory.CreateCollectionItem<JiwaFinancials.Jiwa.JiwaApplication.Documents.Document>();
hdoc.PhysicalFileName = "EmailHeader.jpg";
hdoc.FileBinary = File.ReadAllBytes(header);
email.Attachments.Add(hdoc);
Return to Technical and or Programming
Users browsing this forum: No registered users and 18 guests