Jump to content
Sign in to follow this  
elipsett

Text runon in email body text

Recommended Posts

FMP11 under OSX10.7, sending email to Outlook 14

When I generate the email, I want the body text to be calculated depending on an external field. That part works fine.

The body of the message, however, appears as a single run-on block in the email, regardless of the paragraph markers.

I suspect I'm missing something obvious, as I often do, but cannot see why this shouldn't work.

Any suggestions?

=====

If (Mailings.language="English";

"Thank you for all your assistance and support throughout the year." & "¶¶" &

"I enclose the report for the prior six months. If you cannot open the file, or you would prefer a printout by mail, please reply to this email and I will be happy to help. " & "¶¶" &

"Best regards";

...[the rest of the IF statement...]

Share this post


Link to post
Share on other sites

Addition:

I tried using char(10), char(13) and char(10)&char(13) as the CR/LF codes in the above, instead of the paragraph symbol, and the output displayed in the Outlook message was the same.

Share this post


Link to post
Share on other sites

OK, I have a better idea of what the issue is.

When I set the script to send the email via SMTP direct, it works perfectly, with CR/LF where they are supposed to be.

When I set the script to go through my email client (Outlook), all the CR/LF codes are stripped out.

I haven't been able to find any setting anywhere in Outlook or FMP that might have any effect, unfortunately....

I say unfortunately, because unless I can see each email one at a time and make sure it says what it is supposed to say, it'll be a royal PITA to debug the whole script...

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×

Important Information

By using this site, you agree to our Terms of Use.