Tildelt

need steps for sending mail to a gmail account via manual command line smtp?

I need step-by-step instructions for sending mail to a Gmail account via telnet commands to do an SMTP conversation.

Normally you can send mail to a given domain by telnetting to port 25 and doing a conversation like the following (note I had to use ZZZ instead of at because freelancer filters out the at symbol):

>>>>>

[rootZZZlocal ~]# telnet [url removed, login to view] 25

Trying 65.181.125.58...

Connected to [url removed, login to view] ([url removed, login to view]).

Escape character is '^]'.

220 [url removed, login to view] ESMTP Sendmail 8.13.8/8.13.8; Fri, 30 May 2014 10:11:17 -0

400

HELO [url removed, login to view]

250 [url removed, login to view] Hello [[url removed, login to view]], pleased to meet you

MAIL FROM: [url removed, login to view]

250 2.1.0 testerZZZmousematrix.com... Sender ok

RCPT TO: [url removed, login to view]

250 2.1.5 bennettZZZpeacefire.org... Recipient ok

DATA

354 Enter mail, end with "." on a line by itself

Subject: from mm to pf

hello world

.

250 2.0.0 s4UEBH1j026226 Message accepted for delivery

QUIT

221 2.0.0 [url removed, login to view] closing connection

Connection closed by foreign host.

[rootZZZlocal ~]#

>>>>>

However, you can't do that to send a message to a [url removed, login to view] address because it only accepts encrypted connections on port 587. So how do I send a messge to a gmail address via a command line connection? I know you can connect to gmail for a manual conversation via openssl (see below for an example) but I don't know the steps for sending mail to a particular gmail account.

Two things:

1) Note that this is not the same thing as sending mail FROM my gmail account via the command line. I already know the steps to do that via an SMTP conversation using openssl (google "how to-send email using simple smtp commands via gmail" for an example -- freelancer won't let me type the link)

but this is not the same thing. (In particular, to do what I want to do, sending mail TO a given gmail account, I should not need to know the gmail account's password.)

2) I don't need a single command to send mail from the command line, I already know how to do that, e.g.

echo "test body" | mail -s "test subject" [address goes here]

but I want to do it via an SMTP conversation so I can see in real time any errors that are coming back.

Færdigheder: Linux, Netværksadministrator, System Administrator, UNIX

Se mere: you mail, need know freelancer, things freelancer, step freelancer, line freelancer, meet freelancer, mail line, want freelancer account, know freelancer address, freelancer test google, freelancer steps, freelancer smtp, freelancer mm, freelancer let email address, freelancer use, freelancer closing account, freelancer account closed, echo freelancer, closing account freelancer, closed freelancer, connect freelancer, world freelancer

Om arbejdsgiveren:
( 128 bedømmelser ) Bellevue, United States

Projekt-ID: #6008715

8 freelancere byder i gennemsnit $22 for dette job

xuniltech

Hi, i have already did project with you. You want to send email to a gmail account, then u simply check mx record for gmail.com and connect to port 25 and send mail as usual. Encrypted connections are only for relay Mere

$25 USD på 1 dag
(27 bedømmelser)
5.1
aash666

A proposal has not yet been provided

$25 USD på 1 dag
(40 bedømmelser)
4.5
odessky

I give you guide how to manual sent email to google used smtp protocol and port 587 ************************************************************************************************************

$25 USD på 1 dag
(8 bedømmelser)
3.9
grimeton

Hey, there is a small tool available that does all the tricks you need: -e, -encrypt Encrypt the e-mail for first recipient before sending -s, -subject subject Subject of message - Mere

$25 USD på 1 dag
(9 bedømmelser)
3.8
workbeezcom

Hi, I would like to help you on this project.

$30 USD in 0 dage
(2 bedømmelser)
1.6
petrovicbobang

I already implemented that in my custom shell application, so this is a piece of cake. Please feel free to contact me.

$14 USD in 0 dage
(3 bedømmelser)
1.5
prabincogni

You can use the below link to do so... http://stackoverflow.com/questions/11046135/how-to-send-email-using-simple-smtp-commands-via-gmail

$10 USD på 1 dag
(0 bedømmelser)
0.0
anbedi

platter:~ steve$ telnet gmail-smtp-in.l.google.com 25 Trying 74.125.155.27... Connected to gmail-smtp-in.l.google.com. Escape character is '^]'. 220 mx.google.com ESMTP y27si6889009wfi.2 HELO platter.wordtothewise Mere

$25 USD på 1 dag
(0 bedømmelser)
0.0