Mandrill Unsubscribe page/direct link for emails sent outside of Mandrill? - mandrill

Usually we send out transactional emails through Mandrill, so we rely on their unsubscribe blacklist. I need to send some emails from another service, but still would like the unsubscribe link in the footer to unsubscribe from Mandrill.
Is this possible? MD Merge Tags/Auto Unsubscribe won't cut it of course.

Related

Send and receive email by Rails App

We have build custom crm app(rails 4.0). One of the features that we have build is that we send emails to our customers based on booking status or we send a custom email by our travel agents.
The next thing we want is that customers can replt on this email. So we can recognize the email thats replyed and related to the initial email is send, so we have a nice email dialog (send/receive) in the crm.
Someone ideas how we can "recognize" the replyed email so we can related it to the right email?
Thanks..remco
In your email client open a reply from someone and show full headers or raw source (how to get it depends on the client but you will find it!)
When you look at the email headers you will find References field
References: <CAAC3oDjZSFywS5mpAANO+svm-3xXwLciUhw_QEkBkNqT9A#mail.com>
<06AFEF94-53D2-4469-59B0A494830C#mail.de>
<E67E3945-D61E-8E45-63C52D111698#mail.net>
And more importantly
In-Reply-To: <6397034C-90CA-41B4-F47AE3F39E76#mail.de>
While every outgoing email has a Message-ID field
Message-ID: <569F22.8060202#mail.de>
To get an if of you outgoing message
result = SomeMailer.message(params).deliver
result.header['Message-ID'].value

Mandrill is ghosting accounts or am i incorrect - it says delivered however mandrill did not even tried to send emails

I am using free mandrill account and sending email via using template and API
When i send message it returns okay it is sent as status
However even after several days there is still no smtp events at mandrill interface and the email is not arrived
So i am 100% suree mandrill is ghosting accounts
Or there is something else that i do not know?
Thank you for answers
PS: At the beginning emails were arriving but after some point no smtp events and no emails ever arrived even though no error message parsed. Also when i send to non existing email no bounce message returned.
Also account reputation is 61 : excellent
Yes i believe mandrill certainly ghosting accounts
After trying with several accounts i am now sure of it
Even if you send to non existing gmail email, it says delivered in its interface
However it should have displayed hard bounced
So beware of their free service. I believe this is not an ethical way of working. People would think that their emails are arriving however they are ghosted and mandrill did not even try to send them and yet displays delivered
Have you check it on Mandrill account? It shows all the report at outbound tag. The reason is, a queued response in the Mandrill API is not the same as a queued response from a recipient server.
When you send a message through Mandrill, you first relay it to Mandrill, Mandrill processes it, and then Mandrill relays it to the recipient server. This all happens quite quickly, but the two relaying steps are separate and distinct. The KB article you've linked to is providing additional details on that last step, relaying to recipient servers, not a queued status for the Mandrill API.
There are a number of reasons the Mandrill API may respond with queued including if you've added attachments or if you're sending to a bunch of recipients in a single API call.
Without seeing the actual API call that's being made, it's hard to say why you're getting a queued response. But if you're using the sample messages/send API call, you'll want to remove all of the optional parameters that you're not actually setting. For example, the sample has fake attachments, and a subaccount specified. The attachment will cause the call to be processed async. The subaccount probably doesn't exist, and would then cause the call to fail. So if that's the case, try removing all of those optional params. If not, please provide the API call you're making with sensitive data redacted (API key, actual email addresses).

How to correctly indent original mails with ActionMailer/Mailgun

I'm currently receiving emails with Mailgun API and I'd like to automatically respond to any received email.
I've already defined the header params In-Reply-To and References in the autorespond emails and that kinda does the job, but I'd also like to indent/quote original text below my reply for other mail clients (like Mail.app on the iPhone) which don't stack emails correctly.
Any suggestions/tips on how I can accomplish that?
Thanks.

emails with bcc recipients only sent thorugh Indy don't allow to show recipients in Sent Mail

I send bcc notifications automatic emails. Those are generated by Indy, using also SSL handler since I use smtp.gmail.com.
When I go to Sent Folder and I open one email I see the ccn list empty. This doesn't happen if I create and send an email with bcc recipients directly from gmail.com.
So when sent from Indy through smtp.gmail.com i don't see in sent mail the bcc recipients, if i send from the gmail webmail I see it.
Is there some Indy setting that I am missing?
In this question for example I see that another standard thing (the Message_ID) is missing by default and must be set. Do I need to set something to see this bbc info?
It could be that your local smtp client (or maybe gmail smpt) is stripping bcc informations when the message is sent. On gmail side, it could be different sending a mail directly from gmail (which may not use smpt to communicate internally, and anyway doesn't use Indy...) and from Indy through gmail SMTP implementation.
You could trace the communication using something alike Wireshark, although encryption makes it more difficult (you could try to send through a SMTP server which doesn't require encryption, or proxy it), and see if the bcc header is stripped by Indy or by the server. Moreover Indy comes with full source code...

Sending Email via ActionMailer::Base using SMTP, but sender should be another email-adress

i'm searching for a way to send emails with ruby on rails via actionMailer. The difficulty is, that i am sending the emails via gmail smtp. But i have to send them from different email-adresses (the customers have to be able to setup there own email adress, but i dont want to save the credentials).
Any Idea?
Thanks"!
you have to setup a mail server to send your mails for you and you just send the mail with the headers saying that it is from the person's email address. there are many mail servers, sendmail being one of the standards for a VPS. if you pick a service like heroku, they have mailing as an addon: http://addons.heroku.com/sendgrid

Resources