Send Email with pdf as attachment
We have a requirement where we need to send email to an external firstname.lastname@example.org address with a pdf as an attachment.
I have following queries with regard to this requirement:
1. After converting spool to pdf is it required to store pdf document at some location on application/presentation server so that it can be attached to the outgoing email, Or it is can be attached to an outgoing email without saving it.
2. I need some more info on how to use the function module SO_NEW_DOCUMENT_SEND_API1 to send email. ( I hope I have identified the correct Function Module to send email).
Note: Please do not copy paste any code from the net in your answer. I need to understand on how to use the FM.