How to email any document from sap through program
i want to email my document from sap to external mail. i tried program using fm SO_NEW_DOCUMENT_ATT_SEND_API1 . but it is showing error 'error while sending' . please reply me how to do this in details with any configuration if required.
Banaja Kumar Bal