Need help sending emai via the command line












-2















I posted here to send email via cli, but nothing worked.



ssmtp stopped working



My question is NOT a duplicate of the above link.



sendmail does NOT equal ssmtp !!



I even tried sendmail



andy@7_~/Downloads/$  echo "Subject: hello" | sendmail -v 7@yahoo.com < mail.txt
7@yahoo.com... Connecting to [127.0.0.1] via relay...
220 7.netgear.com ESMTP Sendmail 8.15.2/8.15.2/Debian-10; Fri, 8 Feb 2019 18:17:56 -0600; (No UCE/UBE) logging access from: localhost(OK)-localhost [127.0.0.1]
>>> EHLO 7.netgear.com
250-7.netgear.com Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
>>> VERB
250 2.0.0 Verbose mode
>>> MAIL From:<andy@7.netgear.com> SIZE=11 AUTH=andy@7.netgear.com
250 2.1.0 <andy@7.netgear.com>... Sender ok
>>> RCPT To:<7@yahoo.com>
>>> DATA
250 2.1.5 <7@yahoo.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .


When it says "enter mail", what does that mean?



Can someone please help me find any way that will work?










share|improve this question

























  • Do not run sendmail directly. Use a proper MUA like mailx or mutt.

    – fkraiem
    yesterday











  • The example I saw did not indicate so. You should have indicated the reason for your answer. Thanks for the -1.

    – fixit7
    yesterday








  • 4





    Possible duplicate of ssmtp stopped working

    – Organic Marble
    yesterday






  • 2





    Please don't post more than one question about the same problem.

    – Organic Marble
    yesterday
















-2















I posted here to send email via cli, but nothing worked.



ssmtp stopped working



My question is NOT a duplicate of the above link.



sendmail does NOT equal ssmtp !!



I even tried sendmail



andy@7_~/Downloads/$  echo "Subject: hello" | sendmail -v 7@yahoo.com < mail.txt
7@yahoo.com... Connecting to [127.0.0.1] via relay...
220 7.netgear.com ESMTP Sendmail 8.15.2/8.15.2/Debian-10; Fri, 8 Feb 2019 18:17:56 -0600; (No UCE/UBE) logging access from: localhost(OK)-localhost [127.0.0.1]
>>> EHLO 7.netgear.com
250-7.netgear.com Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
>>> VERB
250 2.0.0 Verbose mode
>>> MAIL From:<andy@7.netgear.com> SIZE=11 AUTH=andy@7.netgear.com
250 2.1.0 <andy@7.netgear.com>... Sender ok
>>> RCPT To:<7@yahoo.com>
>>> DATA
250 2.1.5 <7@yahoo.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .


When it says "enter mail", what does that mean?



Can someone please help me find any way that will work?










share|improve this question

























  • Do not run sendmail directly. Use a proper MUA like mailx or mutt.

    – fkraiem
    yesterday











  • The example I saw did not indicate so. You should have indicated the reason for your answer. Thanks for the -1.

    – fixit7
    yesterday








  • 4





    Possible duplicate of ssmtp stopped working

    – Organic Marble
    yesterday






  • 2





    Please don't post more than one question about the same problem.

    – Organic Marble
    yesterday














-2












-2








-2








I posted here to send email via cli, but nothing worked.



ssmtp stopped working



My question is NOT a duplicate of the above link.



sendmail does NOT equal ssmtp !!



I even tried sendmail



andy@7_~/Downloads/$  echo "Subject: hello" | sendmail -v 7@yahoo.com < mail.txt
7@yahoo.com... Connecting to [127.0.0.1] via relay...
220 7.netgear.com ESMTP Sendmail 8.15.2/8.15.2/Debian-10; Fri, 8 Feb 2019 18:17:56 -0600; (No UCE/UBE) logging access from: localhost(OK)-localhost [127.0.0.1]
>>> EHLO 7.netgear.com
250-7.netgear.com Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
>>> VERB
250 2.0.0 Verbose mode
>>> MAIL From:<andy@7.netgear.com> SIZE=11 AUTH=andy@7.netgear.com
250 2.1.0 <andy@7.netgear.com>... Sender ok
>>> RCPT To:<7@yahoo.com>
>>> DATA
250 2.1.5 <7@yahoo.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .


When it says "enter mail", what does that mean?



Can someone please help me find any way that will work?










share|improve this question
















I posted here to send email via cli, but nothing worked.



ssmtp stopped working



My question is NOT a duplicate of the above link.



sendmail does NOT equal ssmtp !!



I even tried sendmail



andy@7_~/Downloads/$  echo "Subject: hello" | sendmail -v 7@yahoo.com < mail.txt
7@yahoo.com... Connecting to [127.0.0.1] via relay...
220 7.netgear.com ESMTP Sendmail 8.15.2/8.15.2/Debian-10; Fri, 8 Feb 2019 18:17:56 -0600; (No UCE/UBE) logging access from: localhost(OK)-localhost [127.0.0.1]
>>> EHLO 7.netgear.com
250-7.netgear.com Hello localhost [127.0.0.1], pleased to meet you
250-ENHANCEDSTATUSCODES
250-PIPELINING
250-EXPN
250-VERB
250-8BITMIME
250-SIZE
250-DSN
250-ETRN
250-AUTH DIGEST-MD5 CRAM-MD5
250-DELIVERBY
250 HELP
>>> VERB
250 2.0.0 Verbose mode
>>> MAIL From:<andy@7.netgear.com> SIZE=11 AUTH=andy@7.netgear.com
250 2.1.0 <andy@7.netgear.com>... Sender ok
>>> RCPT To:<7@yahoo.com>
>>> DATA
250 2.1.5 <7@yahoo.com>... Recipient ok
354 Enter mail, end with "." on a line by itself
>>> .


When it says "enter mail", what does that mean?



Can someone please help me find any way that will work?







email ubuntu-mate






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited yesterday







fixit7

















asked yesterday









fixit7fixit7

553320




553320













  • Do not run sendmail directly. Use a proper MUA like mailx or mutt.

    – fkraiem
    yesterday











  • The example I saw did not indicate so. You should have indicated the reason for your answer. Thanks for the -1.

    – fixit7
    yesterday








  • 4





    Possible duplicate of ssmtp stopped working

    – Organic Marble
    yesterday






  • 2





    Please don't post more than one question about the same problem.

    – Organic Marble
    yesterday



















  • Do not run sendmail directly. Use a proper MUA like mailx or mutt.

    – fkraiem
    yesterday











  • The example I saw did not indicate so. You should have indicated the reason for your answer. Thanks for the -1.

    – fixit7
    yesterday








  • 4





    Possible duplicate of ssmtp stopped working

    – Organic Marble
    yesterday






  • 2





    Please don't post more than one question about the same problem.

    – Organic Marble
    yesterday

















Do not run sendmail directly. Use a proper MUA like mailx or mutt.

– fkraiem
yesterday





Do not run sendmail directly. Use a proper MUA like mailx or mutt.

– fkraiem
yesterday













The example I saw did not indicate so. You should have indicated the reason for your answer. Thanks for the -1.

– fixit7
yesterday







The example I saw did not indicate so. You should have indicated the reason for your answer. Thanks for the -1.

– fixit7
yesterday






4




4





Possible duplicate of ssmtp stopped working

– Organic Marble
yesterday





Possible duplicate of ssmtp stopped working

– Organic Marble
yesterday




2




2





Please don't post more than one question about the same problem.

– Organic Marble
yesterday





Please don't post more than one question about the same problem.

– Organic Marble
yesterday










0






active

oldest

votes











Your Answer








StackExchange.ready(function() {
var channelOptions = {
tags: "".split(" "),
id: "89"
};
initTagRenderer("".split(" "), "".split(" "), channelOptions);

StackExchange.using("externalEditor", function() {
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled) {
StackExchange.using("snippets", function() {
createEditor();
});
}
else {
createEditor();
}
});

function createEditor() {
StackExchange.prepareEditor({
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: true,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: 10,
bindNavPrevention: true,
postfix: "",
imageUploader: {
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
},
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
});


}
});














draft saved

draft discarded


















StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1116812%2fneed-help-sending-emai-via-the-command-line%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown

























0






active

oldest

votes








0






active

oldest

votes









active

oldest

votes






active

oldest

votes
















draft saved

draft discarded




















































Thanks for contributing an answer to Ask Ubuntu!


  • Please be sure to answer the question. Provide details and share your research!

But avoid



  • Asking for help, clarification, or responding to other answers.

  • Making statements based on opinion; back them up with references or personal experience.


To learn more, see our tips on writing great answers.




draft saved


draft discarded














StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1116812%2fneed-help-sending-emai-via-the-command-line%23new-answer', 'question_page');
}
);

Post as a guest















Required, but never shown





















































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown

































Required, but never shown














Required, but never shown












Required, but never shown







Required, but never shown







Popular posts from this blog

數位音樂下載

When can things happen in Etherscan, such as the picture below?

格利澤436b