aws-ses icon indicating copy to clipboard operation
aws-ses copied to clipboard

How to get Message-ID back from SES?

Open marknadig opened this issue 12 years ago • 8 comments

Saw your comment over http://robots.thoughtbot.com/post/3105121049/delivering-email-with-amazon-ses-in-a-rails-3-app that it is possible to get the Message-ID that SES generated back, but is is not clear to me how.

Note: I tried setting my own Message-ID as others have reported that amazon ses just moves that to the "In-Reply-To" when it generates its own, but I'm not seeing that behavior. Basically, I'm trying to track replys back to the original email. Custom headers (X-...) are stripped by gmail.

marknadig avatar Mar 16 '12 22:03 marknadig

I'll second this request. It looks like Action Mailer gives the message its own id rather than using Amazon's, so its message_id method does not reflect what is actually sent. Knowing the correct message_id is useful for tracking, so this would be nice.

cherez avatar Sep 21 '12 22:09 cherez

Hi Steven, I completely agree it'd be very useful. I'd be more than happy to accept a patch/PR that implements it!

drewblas avatar Sep 21 '12 22:09 drewblas

I think you can close this with #41 merged in.

Also, could we get a version bump for this?

cherez avatar Feb 01 '13 21:02 cherez

I did a version bump and committed it. Rubygems is still in RO mode, so I can't release it yet.

On Fri, Feb 1, 2013 at 3:11 PM, Steven Wallace [email protected]:

I think you can close this with #41https://github.com/drewblas/aws-ses/issues/41merged in.

Also, could we get a version bump for this?

— Reply to this email directly or view it on GitHubhttps://github.com/drewblas/aws-ses/issues/34#issuecomment-13014364.

drewblas avatar Feb 01 '13 21:02 drewblas

Hey @drewblas could you release a new gem now that rubygems is back up.

Thanks

loopj avatar Apr 17 '13 03:04 loopj

Done!

On Tue, Apr 16, 2013 at 10:06 PM, James Smith [email protected]:

Hey @drewblas https://github.com/drewblas could you release a new gem now that rubygems is back up.

Thanks

— Reply to this email directly or view it on GitHubhttps://github.com/drewblas/aws-ses/issues/34#issuecomment-16484524 .

drewblas avatar Apr 30 '13 15:04 drewblas

Thanks

James Smith

On Tuesday, April 30, 2013 at 8:06 AM, Drew Blas wrote:

Done!

On Tue, Apr 16, 2013 at 10:06 PM, James Smith [email protected]:

Hey @drewblas https://github.com/drewblas could you release a new gem
now that rubygems is back up.

Thanks


Reply to this email directly or view it on GitHubhttps://github.com/drewblas/aws-ses/issues/34#issuecomment-16484524
.

— Reply to this email directly or view it on GitHub (https://github.com/drewblas/aws-ses/issues/34#issuecomment-17232889).

loopj avatar Apr 30 '13 18:04 loopj

Hey folks,

What is the recommended way to get the message-ID back from SES in ruby? ActionMailer seems to be overriding the message-id and is really of no use to send emails in a thread.

raj454raj avatar Mar 13 '22 13:03 raj454raj