I am trying to attach 3 files stored in 3 containers...But it is attaching only one.......how to do it(I am on windows)?
You may need to use a plugin to workaround the one attachment limit in FileMaker.
e.g. use MBS Plugin:
MBS Blog - Sending emails in FileMaker with MBS Plugin
The key is to call the SendMail.AddAttachmentContainer function three times, once for each attachment.
To expand on that. FileMaker's native Send Mail only supports sending email with a single attachment as you have found out. Other options are to send a separate email for each attachment or to zip the files to produce a single file before attaching.
And the MBS plug in recommended by Christian is just one of several email plug ins available that offer support for multiple attachments.
I tried ..and below is my script
I set the field to trap error and error is as below:
55: RCPT failed: 550
Please tell me where I am wrong
To be precise ..My error message reads.. after using functions
Set Variable [$Messages; MBS("CURL.GetDebugAsText"; $curl) ]
# check result
Set Variable [$Output; MBS("CURL.GetResultAsText"; $curl) ]
250 2.1.0 Sender OK
550 5.7.64 TenantAttribution; Relay Access Denied
RCPT failed: 550
221 2.0.0 Service closing transmission channel
Closing connection 0
...when I send it to someone in outlook ..script works ...
Retrieving data ...