![]() So usually something like :Ĭontent-Type: application/pdf charset=UTF-8Content-Type: text/plain name="file.txt"Content-Type: application/octet-stream name="file.pdf"Ĭode Examples: BE_SMTPAddAttachment ( Table::PDF_Field "application/pdf charset=UTF-8")īE_SMTPAddAttachment ( Table::File_Field "text/plain name=\"file.txt\"")īE_SMTPSend ( $from $to $subject $text )no attachments included here as they are added from the 2 previous steps. The content type is what is set in the mime type for emails. 4.0.2 : Renamed from BE_SMTP_AddAttachment Version History: - 3.1 : Notes: - There are also two callback functions, so you can call FileMaker calculations using BEEvaluateFileMakerCalculation or run FileMaker Script using BEExecuteScript from within the JavaScript code. Filter on the File lists to only allow selecting various file formats. 4.0 : Changed the container parameter to attachment and added the contentType parameter. BaseElements Internal : function not yet documented. IMAP - read folders, read messages, move messages, delete messages. ![]() If you would like to assist us in translating the functions, or descriptions for the BE plugin, then the file to translate is called 'Localizable. contentType : a mime content type, examples below. The BaseElements plugin includes English language function names, and also defaults to English function descriptions that appear whenever you view them in FileMaker 16 or later. attachment : a container field or a path to a file Once BE_SMTPSend is done it clears out the list of stored attachments regardless of the success of the Send.Īttachments 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 ). You can add multiple attachments by calling this multiple times. Use this function to add attachments to an outgoing email that would normally be sent via BE_SMTPSend, but are not on disk. ![]() ![]() Stores a list of attachment files from container fields as attachments for future BE_SMTPSend functions. BE_SMTPAddAttachment BE_SMTPAddAttachment() ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |