E-Mail: Send copy to sender - Swift - swift

I am using MFMailComposeViewController to send an email to someone's email address which was entered by the app's user munally.
Can I send a copy of that email to the sender of the email (the user)?
Note:
I know, I cannot get the user's email address for privacy reasons.
I'm looking for a way that spares the user entering his own email address

Related

SAP BW SMTP unique sender

I've configured SMTP on BW4HANA.
Everything works correctly only if the user that send the email have a certain email setted in SU01 (Example: testemail#test.com), if an user, with a personal email setted in SU01, try to send an email receive an error like "...not authorized to send as...".
What i want is that every user have their own personal email setted in SU01 but when they send an email this will be send using testemail#test.com. Basically i want that every email will be send with testemail#test.com address even if the user that send the email have another email setted in SU01. it's possible ? how ? can the parameter SMTP_TECH_SENDER help in this ?

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.

Reply to email other than from/reply-to field

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.

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