I need to create and send via email a PDF file with Rules using Drupal 7. I need to send it as an attachment, not as a link.
How can I do this?
You should write a port to Drupal 7. The Views PDF MIMEMail module codebase is pretty lightweight (~300 LOC). Essentially, it's a
You can figure out how to convert the .info & .module by Googling around how to convert a .info to D7 and look up how
hook_theme() changed in D7. There's a comprehensive guide on porting D6 modules to D7 if needed.
As for #3, the Rules module has some internal documentation that describes how to integrate Rules in D7. There's likely a few structural changes you'll need to do, but essentially most PHP code should stay the same.