Diptopol Dam
Diptopol Dam

Reputation: 815

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 ?

Upvotes: 0

Views: 2373

Answers (2)

Eli
Eli

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

Chris Snowden
Chris Snowden

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

Related Questions