开发者

Basic Message v/s SMTP message in cakephp

开发者 https://www.devze.com 2023-01-05 20:47 出处:网络
I was wondering what is the difference between sending a basic message and message using SMTP in cakephp

I was wondering what is the difference between sending a basic message and message using SMTP in cakephp

Regard开发者_StackOverflows


A basic message just uses PHP's mail function to drop off the message to whatever mail handler is configured locally. On your local computer this usually means that the machine will try to deliver the message itself, which often results in it either being rejected or going straight into the spam folder of the receiver. On a properly set up hosted server this is usually not a problem though.

Delivering via SMTP lets you specify an SMTP server that will take over the message delivery for you. A well known and established SMTP server has much better chances of delivering a message to the intended recipient.

0

精彩评论

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

关注公众号