Php email | Sololearn: Learn to code for FREE!
Nouvelle formation ! Tous les codeurs devraient apprendre l'IA générative !
Essayez une leçon gratuite
+ 1

Php email

Hello folks! im newish to php. i can write php code that will compile all of the form data and send it to me via email. but i wanted to know if there was a way to send and email to the client. for example, if they sign up for an email letter, how can i send the client an email via php? i have done extensive research and all i can find is how to receive email from the form data. but i couldnt find out how to automatically send one to the user (client).

21st Feb 2017, 5:04 PM
Robin
Robin - avatar
6 Réponses
+ 3
21st Feb 2017, 7:33 PM
Dev
Dev - avatar
+ 2
Dev, wtf XD im so noob and cant understand anything XD
22nd Feb 2017, 1:29 PM
dghi
dghi - avatar
+ 2
@dghi there are lots of tuts on YT how to use PHPMailer, hope it will clear your mind a bit :)
22nd Feb 2017, 1:31 PM
Dev
Dev - avatar
+ 1
make the mail address a variable and capture it with input.
21st Feb 2017, 5:23 PM
Andre van Rensburg
Andre van Rensburg - avatar
+ 1
@robin you're welcome ;)
21st Feb 2017, 9:45 PM
Dev
Dev - avatar
0
@dev thanks man. ill look more into that for sure
21st Feb 2017, 7:54 PM
Robin
Robin - avatar