Linux / UNIX Tech Support Forum
This is a discussion on ERROR while communicating with gmail.com within the Mail Servers forums, part of the Mastering Servers category; $./a.out smtp.gmail.com 25 220 mx.google.com ESMTP 9sm2923369yxf.23 250 mx.google.com at your service 220 2.0.0 Ready to start TLS after handshake ...
|
Register free or login to your existing account and remove all advertisements. |
|
|||||||
| Mail Servers Discussion on Postfix/Sendmail Mail servers and related program such as IMAP/POP3, Anti-Spam technologies. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
$./a.out smtp.gmail.com 25
220 mx.google.com ESMTP 9sm2923369yxf.23 250 mx.google.com at your service 220 2.0.0 Ready to start TLS after handshake Common Name: smtp.gmail.com after get cert dn -----BEGIN SSL SESSION PARAMETERS----- d4f65cac7d180d5b17d3f6334cf60bcaee84cea782dc39be68 e9224d06ec9b86 -----END SSL SESSION PARAMETERS----- CIPHER is RC4-MD5 EHLO 250-mx.google.com at your service, [61.11.23.15] 250-SIZE 35651584 250-8BITMIME 250-AUTH LOGIN PLAIN 250-ENHANCEDSTATUSCODES 250 PIPELINING MAIL FROM:<root@stripe> 502 5.5.1 Unrecognized command. 9sm2923369yxf.23 Above program just connect to smtp.gmail.com@25 and send 1) HELO 2) STARTTLS .. After succ handshake we need to send EHELO again. I have sent EHELO but after that whne I semt MAIL FROM it give me unrecognized command why? |
| Sponsored Links | ||
|
|
|
||||
|
Quote:
To solve your problem use full email id such as you@example.com
__________________
Vivek Gite Linux Evangelist |
|
|||
|
Code:
# ./a.out smtp.gmail.com 25 220 mx.google.com ESMTP 22sm280809ywh.30 250 mx.google.com at your service 220 2.0.0 Ready to start TLS Please enter the message: after client new after handshake Common Name: smtp.gmail.com after get cert dn -----BEGIN SSL SESSION PARAMETERS----- b2691f97b70da87c7a7ad63c9add3179267fbbb771bcb3d7447c8b0e7db7f2b8 -----END SSL SESSION PARAMETERS----- CIPHER is RC4-MD5 in for loop EHLO 250-mx.google.com at your service, [61.11.23.15] 250-SIZE 35651584 250-8BITMIME 250-AUTH LOGIN PLAIN 250-ENHANCEDSTATUSCODES 250 PIPELINING MAIL FROM:<miibm2000@yahoo.co.in> 502 5.5.1 Unrecognized command. 22sm280809ywh.30 |
![]() |
| Tags |
| error while communicating with gmail.com |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Hotmail/gmail login problem - Squid Transparent Proxy | Cyborg_sa | CentOS / RHEL / Fedora | 4 | 04-03-2009 02:26 AM |
| Problem blocking file ext downloads from Gmail in squid | Roshu | Networking, Firewalls and Security | 1 | 08-25-2007 12:21 AM |
| Invalid ICMP type 3 code 3 error to a broadcast -samba error | raj | Linux software | 0 | 07-09-2006 05:38 AM |