hello,
tnx for reading the thread.
i am just kinda confused with the emaling function of the PHP.
i will try to build a site that can send e-mail made of PHP of course. but if it gets used/opened in a computer without any XAMPP or WAMP, will it still work? (the e-mailing function)
confusion about the e-mailing function of PHP
Moderator: General Moderators
-
chessmonster
- Forum Newbie
- Posts: 1
- Joined: Mon Jan 18, 2010 11:52 am
Re: confusion about the e-mailing function of PHP
The mail() function in PHP uses the SMTP (outgoing) mail server of the site on which the script is stored. Assuming that there is an SMTP server on that site, any browser on any computer can send email using a script on the server.
That's why you must write any email scripts very carefully, so that hackers and spammers cannot use your scripts to send abusive email.
That's why you must write any email scripts very carefully, so that hackers and spammers cannot use your scripts to send abusive email.