Questions about PHP submission form automatic email sending
Source: Internet
Author: User
For questions about the PHP submission form automatic mail sending. To implement a function for a recently created website, you must submit a form and automatically send the form content to the specified email address. It is a stranger to PHP, but the CMS on the website background is PHP, so I had to put my head on it. I found some popular code on the Internet. Then my question is how the PHP code is connected to the form. I am now posting the code about the PHP submission form to automatically send emails.
To implement a function for a recently created website, you must submit a form and automatically send the form content to the specified email address. It is a stranger to PHP, but the CMS on the website background is PHP, so I had to put my head on it. I found some popular code on the Internet. Then my question is how the PHP code is connected to the form. I am posting the code. please help me.
Class smtp
{
/* Public Variables */
Var $ smtp_port;
Var $ time_out;
Var $ host_name;
Var $ log_file;
Var $ relay_host;
Var $ debug;
Var $ auth;
Var $ user;
Var $ pass;
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.