email - Create automatically PDF from article and include them as attachment in Mail in Drupal -


on drupal 7 site, create pdf's of articles printer, email , pdf versions module. pdf version of each article available at

/printpdf/nid 

the next thing im sending articles newsletters simplenews module. want attach created pdf attachment mail.

if there field file in contenttype, , example pdf uploaded , send node, pdf attached mail.

but in case want create pdf of article , attach pdf mail sending simplenews module.

i have solved problem writing own module.

this module uses hook_node_submit create pdf (with dompdf), save server , place field of contenttype when node saved or edited.

this way pdf sent attachement in mail.


Comments

Popular posts from this blog

How to remove text and logo OR add Overflow on Android ActionBar using AppCompat on API 8? -

html - How to style widget with post count different than without post count -

url rewriting - How to redirect a http POST with urlrewritefilter -