You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just copied the text from my Stackoverflow question, as I have already explained the problem there:
I am experiencing problems with ActionMailer, AWS SES and attachments (not inline) in Rails 3.2.13. When viewing the email in Gmail, it's displayed without any problems. When viewing it in Apple Mail or Sparrow, either attachment is missing and the body is displayed or vice-versa.
The headers for the email are as follows:
Return-Path: 0000013e79305031-08aae59a-f7a0-41c9-8bd9-076c46caf100-000000@amazonses.com
Date: Mon, 6 May 2013 09:33:29 +0000
From: Test Account <test@test.com>
To: test@localhost.com
Message-ID: <0000013e79305031-46caf100-000000@email.amazonses.com>
Subject: TEST
Mime-Version: 1.0
Content-Type: multipart/alternative;
boundary="--==_mimepart_518778e85f16a_56844ceff0898ed";
charset=UTF-8
Content-Transfer-Encoding: 7bit
X-SES-Outgoing: 129.255.144.108
If the body is shown, the attachment can be found at the end of the source though:
@laurocaetano We haven't tried upgrading yet, it's a rather big project. I assume it would need some adjustment / testing for the upgrade. I will close. Thanks!
I just copied the text from my Stackoverflow question, as I have already explained the problem there:
I am experiencing problems with ActionMailer, AWS SES and attachments (not inline) in Rails 3.2.13. When viewing the email in Gmail, it's displayed without any problems. When viewing it in Apple Mail or Sparrow, either attachment is missing and the body is displayed or vice-versa.
The headers for the email are as follows:
If the body is shown, the attachment can be found at the end of the source though:
I have found similar errors on Stack Overflow (http://stackoverflow.com/questions/1118592/problem-sending-multipart-mail-using-actionmailer/7177061#7177061) but the suggested solutions did not work - especially the solution at the bottom is very interesting, as it focuses on a solution without inline attachments (http://stackoverflow.com/a/16334096/1016269).
This is the original code I use for sending the email:
This is the code based on the solutions suggested in the link I posted:
The response is:
I hope that helps to narrow down the problem a little.
Associated question on StackOverflow:
http://stackoverflow.com/questions/16398966/rails-3-actionmailer-with-aws-ses-and-attachments-in-sparrow-and-apple-mail
The text was updated successfully, but these errors were encountered: