sending email from command line using hotmail

David Fletcher dave at thefletchers.net
Sun Feb 16 10:24:33 UTC 2025


On Sun, 2025-02-16 at 09:29 +0000, David Fletcher wrote:
> 
> 
> system
> (
>   "sendEmail -q "
>   "-f me at example.com "
>   "-t you at example.com "
>   "-u Subject text "
>   "-m \"Your message text here\""
> );

PS:-

This is operating on the same computer as my postfix server. To get
postfix to accept messages from itself, the sendEmail utility, I've
added to main.cf:-

smtpd_tls_security_level = may

mydestination and mynetworks both include localhost

I'm using SASL to access an external smtp box to forward email from
this server but advised that I might no longer need this now that I
have static IP from my ISP.




More information about the ubuntu-users mailing list