AnsweredAssumed Answered

Send SugarCRM PDF through Code

Question asked by hats on Jul 10, 2017
Latest reply on Jul 10, 2017 by hats

Hello folks,

 

I have got a requirement to send PDF via email based on some conditions through logic hook. This PDF is designed in SugarCRM PDF Manager (Sugar 7.8.1.0 ENT). Now, if I try to download or email from module record view, it works perfectly. But, I am not sure how I can generate it in back-end and send as an attachment to custom email.

I looked into how sugar does it, but that includes $_REQUEST parameters and hence not easy to extend. I also checked this post How to create beautiful PDFs with CSS within Sugar « Sugar Developer Blog – SugarCRM  but no luck.

Any helpful piece of advice or information is greatly appreciated.

 

Regards.

Hats

Outcomes