Email form HTML Body  Topic is solved

Discussions relating to plugin development, and the Jiwa API.

Email form HTML Body

Postby Riyaz » Wed Aug 01, 2018 6:27 pm

Hi There

We are using JiwaFinancials.Jiwa.JiwaApplication.JiwaEmailUI.MainForm to send emails via Jiwa, having a problem setting up html content on the body, it treats it as string / text. Is this possible to do?

emailForm.EmailObject.BodyIsHTML = true;
emailForm.EmailObject.EmailBody = "<html><body>test 123</body></html>";
Riyaz
Kohai
Kohai
 
Posts: 233
Joined: Wed Dec 02, 2015 2:05 pm
Topics Solved: 2

Re: Email form HTML Body  Topic is solved

Postby Mike.Sheen » Tue Aug 07, 2018 10:45 am

Riyaz wrote:Hi There

We are using JiwaFinancials.Jiwa.JiwaApplication.JiwaEmailUI.MainForm to send emails via Jiwa, having a problem setting up html content on the body, it treats it as string / text. Is this possible to do?

emailForm.EmailObject.BodyIsHTML = true;
emailForm.EmailObject.EmailBody = "<html><body>test 123</body></html>";


Why are you using the Form to send emails? Just use the business logic - and yes, you can send the body as HTML. Can you provide a sample plugin which demonstrates the issue?

Mike
Mike Sheen
Chief Software Engineer
Jiwa Financials

If I do answer your question to your satisfaction, please mark it as the post solving the topic so others with the same issue can readily identify the solution
User avatar
Mike.Sheen
Overflow Error
Overflow Error
 
Posts: 2445
Joined: Tue Feb 12, 2008 11:12 am
Location: Perth, Republic of Western Australia
Topics Solved: 757


Return to Technical and or Programming

Who is online

Users browsing this forum: No registered users and 9 guests