Thank you for your post.
A 1506 Error is a general error when an email cannot be sent. This could be the result of an attachment too large for the mail server to process. Once the file is created, are you able to manually email the file from the iPad?
Thanks for reply,
Sending email with 15 MB attachment is no problem from default email client on iOS. I think that Googe mail has 20 MB limit so it will work with even bigger than 15 MB.
I don't think it's even a problem with FileMaker because "Send Email" function works with attachment on FM Pro Advanced but it won't work on FM Go. Is it possible that FM Go processes differently "Send Email" function than FM Pro Advanced?
I am unable to replicate the issue. On my iPad, I have a FileMaker file that is 6.4 MB named "Test1 copy.fmp12". In another FileMaker Pro file, I create the following script "Send Large File"
Set Variable [ $file ; Value: "file:" & Get ( DocumentsPath ) & "Test1 copy.fmp12" ]
Send Mail [ Send via E-mail Client ; No dialog ; To: <personal email address> ; Subject: "Test" ; attachment "$file" ]
I then access the file via FileMaker Go, run the script, and the file is sent successfully.
Anything else you can provide to help me replicate the issue would be appreciated.
Thanks for effort:
Here's my script steps:
Set Variable [$timestamp; Value:Substitute ( Substitute ( Substitute (Get ( CurrentTimeStamp ) ;"/"; "-" ) ; " "; "-" ) ; ":" ; "." ) & "-" & Get ( UserName )]
Set Variable [$path; Value:"file:" & Get ( DocumentsPath ) & "Project-" & $timestamp & ".fmp12"]
Save a Copy as ["$path"; compacted]
Send Mail [Send via SMTP Server; No dialog; To: <email address>; Subject: "Test"; Message: "This is a Test"; "$path"]
I saw that you used "Send via E-mail Client" where I used "Send via SMTP Server" - we would like use only FM without using other apps for sending Emails.
I changed my script step to SMTP Server, but it also worked, since it was accessing the same SMTP server used to send via my email client.
I then changed it to your script steps (although I combined the two separate Set Variable steps into one step), and I was still unable to replicate.
What else can you tell me about your SMTP server? Are others running into the same issue?