With google phasing out support for "less secure apps", we had to use "App password" for one of our servers. On PB's terminal on Mac, Ctrl+D was mapped to something else, so we could not use the usual method of the mail command for testing where we end the body with Ctrl+D. Instead, tested by the three less-than symbol to send email, like
mail -s
"<Subject>"
recipient@something.com
<<<
"<Mail Body>"
No comments:
Post a Comment