Page 1 of 1

Sales Order email invoices

PostPosted: Wed Nov 04, 2020 8:58 am
by DannyC
Is it possible to pretty up the Sales Order Custom Email plugin with graphics, weblinks, formatted text etc so that it looks like a marketing email? Think of all those spam emails we get from just about every webstore we've ever bought something at and you get the general idea.

Re: Sales Order email invoices

PostPosted: Wed Nov 04, 2020 10:21 am
by SBarnes
There is a BodyIsHTML flag on JiwaFinancials.Jiwa.JiwaApplication.JiwaEmail.EmailMessage, which gets passed into whatever plugin is doing the email sending so I suppose if the body of your email is HTML it will work.

Re: Sales Order email invoices

PostPosted: Wed Nov 04, 2020 5:58 pm
by DannyC
I suppose if the body of your email is HTML it will work.

Which implies some talent in HTML!

Might be able to knock something up in an HTML IDE and paste the raw HTML into the EmailMessage body. Worth a try. Just need to find an HTML IDE for idiots.

Re: Sales Order email invoices

PostPosted: Wed Nov 04, 2020 6:01 pm
by SBarnes
It's called Microsoft Word and save as html :lol:

Re: Sales Order email invoices

PostPosted: Wed Nov 04, 2020 6:02 pm
by Mike.Sheen
DannyC wrote:Just need to find an HTML IDE for idiots.


VSCode with one of the HTML Live preview extensions.

Re: Sales Order email invoices

PostPosted: Wed Nov 04, 2020 6:04 pm
by SBarnes

Re: Sales Order email invoices  Topic is solved

PostPosted: Wed Nov 04, 2020 11:36 pm
by nsbandara
We can modify sales order email dialog with a simple HTML editor like https://i4.code.msdn.s-msft.com/WinForm ... r-01dbce1a and then setting BodyIsHTML flag on JiwaFinancials.Jiwa.JiwaApplication.JiwaEmail.EmailMessage would give you HTML emailing feature in Jiwa.

Please see sample plugin attached.

Re: Sales Order email invoices

PostPosted: Thu Nov 05, 2020 8:25 am
by DannyC
Thanks all,

Should be able to take it from here once I get the brief from our client. Doesn't seem too hard now you've pointed out all those options!