I want that email header part does not contain via link - php

when a user submits Contact Us form on our site and the info comes to us the email header contains from: abc#gmail.com via 218208-db2.christiandatingforfree.com. We dont want via 218208-db2.christiandatingforfree.com in the header part. Any suggestions...

That isn't something you can control. Gmail does it for the sake of security, otherwise you could send an email with the from field as support#gmail.com

Related

HTML Open outlook new mail on button click (Attachment/HTML body)

I need to open outlook when clicking a button on a webpage.
It must create a new mail with prepopulated fields.
Here's my problem :
The mail body must contain some dynamically generated HTML.
I tried with a mailto but apparently it can only contain plaintext.
What other solution do I have ? (The mail can't be sent server side because the mail must come from client mail address).
Thanks for your help !
mailto only works with plaintext.
For Outlook users you can create your own oft-file and offer a download.
See this example (Just follow the 5 steps)
http://apps.devryeducationgroup.com/brandguidelines/devryuniversity/email-templates.htm
Your second option would be:
Just ask for the customers-email address, and sent him the full email with populated fields as an email. Then he just has to click "answer" and you get the information beeing send from the customers email adress.
(Like saying, "thx for contacting us, please confirm your request by answering this mail")

Outlook API : Link to specific email in outlook.com via email ID

I'm using Outlook API to get a list of emails from my Inbox.
What I want to do next is to click on each email which will take me to the individual email page within Outlook.com
But I'm not sure if this is possible. Looking at the URLs within Outlook, it doesn't seem like there is any "message ID" in the URL.
Does anyone know how I can achieve this?
When you getting all email list outlook sending #odata.id. If you want to see full email by individual then make a call with (#odata.id)
Like below URL:
https://outlook.office365.com/api/v2.0/Users('78169f79-341a-4998-a411-4f29625b1638#5d043331-95cf-4453'
)/Messages('AAMkAGIxYmFjYzZiLWRjNWMtNDQ0MS05NzU4LTAyOWVhY2M0ODEz=')

Using TextBox in Email Template to Get User input

I am coding Mailchimp Template, what I have to do is add a Text box in Email template and the one who receives email will enter some value in text box and press send button in email, and entered value will be sent to my email address as email, I know very well how to code mailchimp templates but really have no idea to add textbox and gets its value and send to my email account Please guide me how to do it.
You will need to create a HTML form with a POST or GET action that sends the data to a server, then from there you can email the value to yourself. You cannot rely on the viewer's computer to send the email.

Is there a method in PHP to get the default email of a user?

Is there a PHP method to fetch the default email of a user? same effect if you would use mailto:
Example scenario:
If you use mailto:some#email.com to open mail client it would automatically fill in the "From" field of the form with the user's email.
I want to do the same effect to my PHP form. I want to fill in with the default email address with the user email. so when they press contact, it would automatically fill in the email field with the users default email.
Is possible?
Note: should also be compatible with mobile phone, like iPhone and Android.
Thanks!
No, your PHP script cannot track your clients (users) and see what their email addresses are.
The mailto: links only open the default mail client on the user's machine and fills in the proper details (taken from your mailto: link).
No, there is not possible way of doing that.

Sending mail to users from my site

I'm using AuthSMTP which is a paid SMTP Relay service. They only support a finite amount of "from" email addresses, which must be proper accounts.
This is my first site build and I'm trying to get my head around how to implement email.
When a user registers with the site or forgets their password, I have an 'info' email account which these messages come from. This works.
However, how do I go about the contact form? I want the email to come from the user who filled in the contact box TO the info inbox. I need to be able to reply directly to them.
How can I do this is my server won't allow the email to come "from" the user? if I use the "reply-to" in the headers, what do I put for the "from" field?
put the email address you are logging in with

Categories