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 ~~