1
I am beginner in php, learning at home alone.
I was watching a video of how send form data to an email, like those "talk to us" fields you have on some websites.
And I saw that in several videos, people sent this data to a server email. Is it possible to send this data to my email "outlook", or "g-mail"? E-mail’s of this type.
Yes, the method is the same as seen in the videos you watched, just put a normal email instead of the hosting server emails.
– Guilherme Biancardi
hmm I’ll try right now, thank you!
– Lukas Monteiro
I’ve seen cases where the server requires the sender to be an email from the domain itself.
– Laércio Lopes
some like hostgator and kinghost you need to configure Sender to be the email from the domain itself, but who is receiving the email can be gmail, outlook, Hotmail, etc... the earth email a while was doing very weird antispan checks these did not receive, but otherwise can be configured by the php mail() function itself or using a library like php_mailer
– Michel Simões