Go Down

Topic: send email to gmail ,sucess telnet and not work in arduino (Read 2236 times) previous topic - next topic

i use my local computer as smtp server (

(in the 1# post i attach 2 pic that it success to connect )


i use my local computer as smtp server (

What email server program do you have installed in your local computer? Is it Exchange? Sendmail? PostFix?

Is your computer firewall allowing port 25 requests?

i use hMailserver to bypath routing between gmail account

do u know any server to use to check ?
i want only to establish connection between any server


Then try the gmail email server directly. You should use a local gmail server, so do an nslookup for the ip. From a command prompt
Code: [Select]
set query=mx

It should list a few email servers. Use the one with the lowest MX preference number. Here is mine:
C:\Documents and Settings\user>nslookup
Default Server:  ip68-105-28-16.at.at.cox.net

> set query=mx
> gmail.com
Server:  ip68-105-28-16.at.at.cox.net

Non-authoritative answer:
// here is the lowest MX preference
gmail.com       MX preference = 5, mail exchanger = gmail-smtp-in.l.google.com
gmail.com       MX preference = 10, mail exchanger = alt1.gmail-smtp-in.l.google.com
gmail.com       MX preference = 20, mail exchanger = alt2.gmail-smtp-in.l.google.com
gmail.com       MX preference = 30, mail exchanger = alt3.gmail-smtp-in.l.google.com
gmail.com       MX preference = 40, mail exchanger = alt4.gmail-smtp-in.l.google.com

gmail.com       nameserver = ns4.google.com
gmail.com       nameserver = ns1.google.com
gmail.com       nameserver = ns2.google.com
gmail.com       nameserver = ns3.google.com
// Here is the ip for that sever. Use it, but the one your nslookup shows
gmail-smtp-in.l.google.com      internet address =
gmail-smtp-in.l.google.com      AAAA IPv6 address = 2607:f8b0:4002:c02::1b
alt1.gmail-smtp-in.l.google.com internet address =
alt1.gmail-smtp-in.l.google.com AAAA IPv6 address = 2607:f8b0:400c:c02::1a
alt2.gmail-smtp-in.l.google.com internet address =
alt3.gmail-smtp-in.l.google.com internet address =
alt3.gmail-smtp-in.l.google.com AAAA IPv6 address = 2a00:1450:4013:c00::1a
alt4.gmail-smtp-in.l.google.com internet address =
alt4.gmail-smtp-in.l.google.com AAAA IPv6 address = 2a00:1450:4001:c02::1a
ns1.google.com  internet address =
ns2.google.com  internet address =
ns3.google.com  internet address =
ns4.google.com  internet address =
C:\Documents and Settings\user>

May 03, 2013, 05:04 pm Last Edit: May 03, 2013, 05:06 pm by Mohamed_Aouf Reason: 1

this is cmd
ip didnt appear


Then your dns server entries are not set correctly in your network settings for that computer. That is telling you there is no dns server available.

i solve it by using www.smtp2go.com it is work perfect

thanks a lot bro for your help

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131