Reply to email other than from/reply-to field - email

My system sends emails on behalf of my users (each user has customers).
When a customer replies to that email, it should reply to my app email instead so I can utilise the inbound parse functionality.
However, I want to display the user's email in the from/reply-to field. Is this possible?

from and reply-to are not the same thing. Send from the user's address in the from field, then use your app's email in the reply-to.

Related

How to spoof sender email address?

Recently I found a web application that can send email to my kindle foo#kindle.com on my behalf myemail#gmail.com. I am curious that how they can spoof the email sender to my gmail address without any permission. It's Kindle policy that only email addresses from an allowed list can send email to my kindle.
Your help is really appreciated.
In an email, you can change the 'from:' field to whatever you want. They simply changed the text in that field to your email address. If you would like to read more, here's the technical document describing how email should work: RFC 2822 Internet Message Format

How to send a confirm email from swift

In my app I've a button that allows users to send me an e-mail.
When users send me an e-mail I want to send to their a confirm e-mail.
But, from swift code, how can I get their email address in order to send to their the confirm mail?
Thank you
You will not be able to use Swift to grab a user's email address this way. This is intentional, to keep a user's information secure.
I would recommended either using an email service that will automatically respond to emails received, or allowing users to enter their email address elsewhere in the app.

Cakephp sending email to checked customer

Is it possible to have checkbox in the customer table where Admin can tick who he want to send email? For example he wants to send email to John and Patrick, all he has to do is Tick John and Patrick and click on send email button. Is it possible to do in cakephp? I have been googling but cannot find the answer I am looking for.
You need to get the ids of the users you've checked and from the ids you can get their email addresses and then simply do a foreach() to send an email to all selected users or put them into an email queue system.

How do I make the Drupal default From: e-mail different than the email of the user who receives system e-mails?

I am creating a site that requires admin approval before creating a user account. In Site Information settings I have set the site's e-mail address to "noreply#mysite.com"
New registrants request an account and they correctly get an e-mail From:noreply#mysite.com
No problems there.
However, the useful "Approve New User" e-mail also gets sent to "noreply#mysite.com" when I need it to go to "me#mysite.com." The noreply address is strictly a garbage address I will never check.
So, how do I set up a different email for the default "From:" address and the default system alert e-mail recipient address?
You can use Drupal's hook_mail_alter to intercept the email that gets sent to noreply#mysite.com send it to the desired email address. http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hook_mail_alter/6
It's also possible to do this kind of customization using Triggers and Actions:
http://drupal.org/node/199254
http://drupal.org/documentation/modules/trigger
There is a module, User Registration Notification, that does what I needed. Keep the site e-mail "no-reply" and change the To: value in the module to "me".
User registration notification

How can I hide the 'to' field in the email sent by php mail

I am using php mail function to allow user to send me a mail from
website.
I am also allowing them to "cc" the email to themselves.
The whole purpose of making a "send us message" feature was not give our email to the users. But when the user selects the "cc" option, in the header of the mail that is sent to the user, the "to" field contains our primary email address.
How can I remove this, so that the users do not see our primary email address in the to field.
You could set the mailTo to an arbitrary mailbox at your domain "noreply#yourdomain.com" and add your company address in BCC?
But whatever reason you have for not exposing your email, imho it's quite unpolite :)
The e-mail message sent to you must have a To: field to be delivered correctly. You could emulate the CC feature by sending to separate e-mail messages to the office and to the client.