If you ping gmail.com, pingping
uses the A record to perform its task, but sending emails (often) incorporates other servers.
You can use the tool dig
(on windowsWindows: nslookup -q=mx gmail.com
as grawity mentioned in the comments) to see those dnsDNS records:
And if you proceed further, you'll see that gmail-smtp-in.l.google.com (the first mxmx
in the list above) points to a different ipIP address:
So you'd have to use recipient@[74.125.39.27]
(this is the right syntax as JdeBP mentioned in the comments).
BUT googleGoogle won't accept these mails:
Thinking further about this: Google won't or can't accept these mails because they don't know to whom you like to send it. The server behind 74.125.39.27 could handle emails for gmail.comgmail.com
, google.comgoogle.com
, picasa.com picasa.com
(etc., etc...), so theresthere's no way to distinguish the user.