BE_SMTP_AddAttachment ( container )
Stores a list of container field files as attachments for future SMTP_Send functions.
Version : 3.3
container : a container field with a file to be sent to the next mail via SMTP.
Use this function to add attachments to an outgoing email that would normally be sent via SMTP Send, but are not on disk. You can add multiple attachments by calling this multiple times. Once SMTP_Send is done it clears out the list of stored attachments regardless of the success of the Send.
Attachments are actually written to disk by the plugin, to the users temp folder, so this does require you to have access to a working temp folder ( defined by the OS ).
Result : 0 for success or ? for an error.