File attachments being embedded as part of the text message when sending files via the Internet with SMTP
From Support
| | If you have a question or seek clarification, please call Technical Support. |
Problem:
Some email recipients are receiving file attachments as embedded text in the message instead of as separate attachment files when using the SMTP option with the Email Report Server.
Solution:
This is an example resolution given to a customer:
Listed below are 2 sample email headers from a mail message received from your SMTP email gateway and one received from the RJS SMTP email server.
Basically the problem is being caused by the content type: TEXT/RTF being assigned by your outbound SMTP email server. The Email Report Server formats the outgoing Internet messages originally as listed and at some point your email server is substituting the TEXT/RTF designation, thus causing the RTF files to get embedded as part of the text message instead of being separated as an attachment file. Some mail systems such as Hotmail seem OK with this, but most mail systems will choke on the TEXT/RTF designation.
Listed below is how the Email Report Server formats the email message headers:
Mime-Version: 1.0 Content-Type: application/rtf; NAME="AS400RPT.RTF" Content-Transfer-Encoding: base64
Listed below is what your SMTP Email Gateway does to the message header:
Mime-Version: 1.0 Content-Type: TEXT/RTF; NAME="AS400RPT.RTF" Content-Transfer-Encoding: base64
What you need to do is talk to your SMTP Gateway vendor and find out if there's a way to keep it from changing the content type to TEXT/RTF during email transmission. If necessary we can contact them, but you should start by talking to your network people and see what they can do to resolve this issue.
