Sujan - 2020-10-12 14:09:05 - In reply to message 2 from Rohit Arya
The update for image is working. Thank you.
However I do not understand what you mean by other formatting for the tables. The docx I am generating is from here http://www.phpclasses.org/package/8247-PHP-Create-Microsoft-Word-documents-from-templates.html
I however now need to send this docx generated from above as body from phpmailer
Rohit Arya - 2020-10-13 06:34:11 - In reply to message 3 from Sujan
as example given this class revert htmlcode and put it in a variable you can directly put it into body of phpmailer.
For formatting option
$text = $rt->readDocument('sample.docx');
call documentread function like above.