Unable to send email to external users using mailx command. Could you please help me with the steps to configure mailx command in ubuntu.

  • What is working? What is not? What have you tried? Do you get any error messages (please post them if so)? - Update your original post with the info. – ejjl Jul 25 '18 at 6:53
  • Is this useful to you: askubuntu.com/q/732677/57576 ? – andrew.46 Jul 25 '18 at 6:56
  • PFB output hima@hima-VirtualBox:~$ mailx -s "" abc@xyz.com Cc: acd@yzf.com Null message body; hope that's ok send-mail: Authorization failed (534 5.7.14 support.google.com/mail/answer/78754 o206-v6sm12467503oif.7 - gsmtp) Can't send mail: sendmail process failed with error code 1 – Himavanth Jul 25 '18 at 11:52
  • @Himavanth You put your own username and password in place? – andrew.46 Jul 25 '18 at 22:35

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.