Reputation: 815
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 ?
Upvotes: 0
Views: 2373
Reputation: 5610
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.
Upvotes: 1
Reputation: 5002
You can only send to localhost from a mail server running on localhost. Generally though you'd need an Internet domain for this instead.
Upvotes: 1