开发者

how to send mail to localhost

I 开发者_如何学编程am using smtp protocol to send email via gmail . I want to send mail to localhost . What address I will give for localhost to get that email ?


What is localhost in this case? Your local desktop or a server?

The only way gmail is going to be able to send mail to it, is if you've got an SMTP server running there and it has an IP that's accessible from the Internet.


You can only send to localhost from a mail server running on localhost. Generally though you'd need an Internet domain for this instead.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜