How does PHP make a contact form?
[Img = http://pan.baidu.com/share/link? Container ID = 349025 & uk = 926243211] [/img]
This is how the customer sends the message to my mailbox after leaving a message. How can this problem be achieved?
I know how to use form, but I don't know how to implement it internally and how to write the code that responds to the submit?
Where do I need to set Apache and PHP?
Reply to discussion (solution)
[Img = http://pan.baidu.com/share/link? Consumer id = 349025 & uk = 926243211] [/img] why is the image not displayed?
Php provides the mail () function to send emails. you can also use the phpmailer class.
Do you really need such a request? if there are too many messages, how can you send an email.
My suggestion: directly send a message to the database. if you want to send an email, you can send it once a day and send all the messages in one day to your mailbox. You can go to Baidu: phpmailer, mail class
The mail () function and the phpmailer class are sent to you by yourself, which is meaningless.
The mail () function and the phpmailer class are sent to you by yourself, which is meaningless.
I am a general enterprise website and provide a contact form. after the customer fills in the information, click submit and send the customer information to my mailbox.
How can this be done?
You can, Baidu, find out how PHP sends an email !!
I also encountered a mail sending problem. a friend upstairs cannot send me a mail function code that can send emails? QQ: 593894955
I also encountered a mail sending problem. a friend upstairs cannot send me a mail function code that can send emails? QQ: 593894955
Phpmailer solved my problem.