Summary
Send Mail via SMTP fails when Carriage Return is used in message body on OS X
Product
FileMaker Pro
Version
9,10,11.x
Operating system version
OS X 10.4,10.5,10.6
Description of the issue
When using the Send Mail using SMTP on a Mac OS X machine (tested on 10.4, 10.5, 10.6) using version 9.x,10.x,11.x the script fails with error code 1506 when a pilcrow "¶" is included in the message.
I've tried copying and pasting a carriage return from a global field,using the Char() function,using a variable set to the ¶ value. I can not for the life of me get message to send with a carriage return. I've tried ports 25 and 587 and both have the same result. As soon as the ¶ is gone it sends.
Steps to reproduce the problem
Use the Send Mail script using SMTP with the following configuration
Name "FM_email"
Email Address: "FM_email@myserver.com"
Reply To Address: "FM_email@myserver.com"
Server "mail.myserver.com"
Port: 587
Connection encyption: none
Authentication: Plain password
Username: "FM_email@myserver.com"
Password: mypassword
Use the following for the Message contents
To: youraddress@yourserver.com
CC: youraddress@yourserver.com
Subject: Test Subject
Message: Test Pilcrow ¶
Test second line ¶
Test third line
Expected result
Error:0
Email shows up in respective inboxes and everyone gets the message
Actual result
Error (1506):
Email(s) could not be sent successfully.
Exact text of any error message(s) that appear
Email(s) could not be sent successfully.
Configuration information
No firewalls are used.
No SSL is used.
No encryption.
etc
Workaround
Writing applescripts to send mail from the command line. That is not a good solution for wide deployment considering the variety of OS/user privileges for 90+ Filemaker users.
Dave Thompson:
Thank you for your post.
I am unable to replicate the problem. Using the company mail server, the mail is sent. Here are my settings:
Name: "TSGal"
Email Address: <my email address>
Reply To Address: <my email address"
Server: smtp.filemaker.com
Port: 25
Connection encryption: none
Authentication: none
To: <my email address>
CC: <my email address>
Subject: TEST
Message:
Test Pilcrow ¶
Test second line ¶
Test third line
The message sends fine. I receive the message with the information displayed in the Message/Body of the email.
Do you have access to another mail server? If not, does the mail server accept a pilcrow?
Any other information you can provide may be helpful.
TSGal
FileMaker, Inc.