开发者

PHP- Send mail with SMTP authentication without mail()

开发者 https://www.devze.com 2023-03-10 09:28 出处:网络
I am working on a website which is hosted on a server that has the function \"mail()\" disabled for security reasons.

I am working on a website which is hosted on a server that has the function "mail()" disabled for security reasons.

I would like to know if there is another way around to bypass this and send an email with SMTP authentication ?

I don't own the server and I can't i开发者_开发知识库nstall any add-ons or plugins. There isn't PEAR nor Swift nor PHPMailer on that server.

How should I do? Thank you for your help.


You don't need to "install" PHPMailer. Just upload the script in your server and include it in your script.

I believe if you could use mail() function you can upload files to the server.

If you cannot, then you can't do nothing.

0

精彩评论

暂无评论...
验证码 换一张
取 消