PHP mail problems

Source: Internet
Author: User
PHP mail problems PHP mail

The younger brother needs a safe mail method implemented using PHP ~~~
PHPMailer you are looking for on the internet is used. it is okay to run it in your own home, but it cannot be used when you switch to another network .. You may have disabled the related dangerous method fsockopen ()
But changing to pfsockopen () or stream_socket_client () in some ways won't work .. Relatively large...
Is there any other method ?? Or other modification methods based on this ??
Could you please help me with PHP ~~


Reply to discussion (solution)

PHPMailer. No error reported?

Ask space customer service. they will provide you with a solution. I encountered this problem a few days ago. Finally, let me replace smtp with 127.0.0.1.

PHPMailer. No error reported?

The error is that the SMTP client cannot be connected. the connection times out ~~ Specific error message because I can test it at home now ~~
However, the school's network cannot be connected ~~ Very strange ~~
I don't know if this is a problem with network restrictions? I found on the Internet that some networks will disable the mail () function or something ~~
However, they still cannot be modified, which is a headache ~~

Ask space customer service. they will provide you with a solution. I encountered this problem a few days ago. Finally, let me replace smtp with 127.0.0.1.

What does space customer service mean ??? New to PHP, not familiar ~~
What is the problem with SMTP ?? Or network restrictions ??? I am confused about this issue ~~


Ask space customer service. they will provide you with a solution. I encountered this problem a few days ago. Finally, let me replace smtp with 127.0.0.1.

What does space customer service mean ??? New to PHP, not familiar ~~
What is the problem with SMTP ?? Or network restrictions ??? I am confused about this issue ~~
Idc operator online website customer service!


Ask space customer service. they will provide you with a solution. I encountered this problem a few days ago. Finally, let me replace smtp with 127.0.0.1.

What does space customer service mean ??? New to PHP, not familiar ~~
What is the problem with SMTP ?? Or network restrictions ??? I am confused about this issue ~~ The space provider has customer service. what I encountered last time was that the space was forbidden to use the smtp service. you can ask customer service to help solve the problem.

Configure stmp, resolve the domain name, send it to the server, and verify the server ....
Check it gradually...

Configure stmp, resolve the domain name, send it to the server, and verify the server ....
Check it gradually...

OK. thank you for your ideas ~~ It's okay to test in a strange network ~~
Go to school for verification on weekends ~~ If you have any questions, please contact us ~~

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.