Substitute reply-to, sendgrid smtp api - ruby-on-rails-3

Is it possible to substitute reply-to option in Sendgrid SMTP Api? If yes, how can I achieve it?

Each batch email has to share unique args and headers (except the subject header). So setting a unique reply-to address for each email is currently not possible.
The sub tags also only work for the body of an email and the subject.
But definitely request that as a feature on the sendgrid getsatisfaction page (http://community.sendgrid.com/sendgrid). Its a great idea!

Related

gmail API send email error:Recipient address required

Gmail API send email error:Recipient address required
I searched over many articles and realized that ALL CONTENTS RELATED TO THE EMAIL SHOULD BE ENCODED IN RAW, including recipient email and body.
Please refer to the answer by Eric D
Trying to use the payload parameters was in vain.

Autoresponder in Gmail without "Vacation Responder"?

I'm trying to set up an autoresponder in Gmail that is not a typical vacation responder that's sent via a separate email. My autoresponder should respond directly to the email that came to the inbox.
There used to be a way with IFTTT, but they've since removed any Gmail triggers.
The reason I am looking for this is that I have a business on Yelp and when customers request quotes on Yelp, they get sent to my email. I can either open the Yelp app (or website) and respond there or respond directly to that email from my email address (it doesn't work to send a separate email to that Yelp email).
Has anyone ever done anything like this before? Alternatively, I was thinking of going the somewhat more complicated route and have an "incoming email" trigger in Zapier and then have something scrape the email for links and set up an automation to respond with my standard response, but that seemed like a lot...
I've solved it with Zapier! Basically, in Zapier you need to set up a Gmail response and respond to the same thread ID as the original email. This will work for any "respond to this email to respond to the client" messages from pages like Yelp for Business.

How do I forward gmail raw email to a web service?

I want to forward the raw email from my gmail to, say,
POST www.mywebsite.com/api/something?email={raw-email}
I feel like there ought to be an easy way to do this.. but my searches have turned up nothing. We'd prefer to use gmail, but if you know how I can do this with any mail server, that's helpful too.
Thanks!

How to create confirmation mail and send it to user in yii?

In yii I am creating registration form. After successful registration I want to generate confirmation code and also want to send registration confirmation email to same user. So how can I do this?
Check mail extensions in yii Link
You can this using a mailer say swift mailer or phpmailer, add them in your project, include the mailer file in your submit page.
do something like this require_once(LIB_DIR.'/phpmailer/mail-wrapper.php'); and call function email() or sendEmail() pass subject, sender address, body, attachment to it and its done.
Thanks.
Also use Gmail as your SMTP server to avoid spamming and other troubles of mail delivery etc . Gmail as SMTP
The yii user extension has this confirmation email functionality built in:
http://www.yiiframework.com/extension/yii-user/
As Ajet said, using gmail as SMTP makes a lot of sense.

Mailsystem Failure Delivery - Custom subject

When a mail is bounced it has a standard subject.
Is it possible to change with a custom subject or the subject which we gave or with a dynamic subject?
I am building a simple system in php to count all send and not sent mails with the help of bounced mails.
So i need to parse the body of the bounced mail to find the email address to which the mail was not sent.
If there could be any other less overhead option then that could be nice. We can reduce the processing time to parse.
You can send a custom x-mail-id header or use the standard Mail-ID header. You store in a table a map of the id to email addresses.
From there it is simple to find out which email bounced by matching the id to the email address in your table.
That subject could be generated by any server along the path your mail message takes, so I'd say no, you can't change that.