[Chapel Merge] For Macs make the default Mailer the mail option to send email

Branch: refs/heads/main
Revision: 9b2a1332f9734dbac63b70c68f92a83135f4e3a3
Author: bhavanijayakumaran
Link: For Macs make the default Mailer the mail option to send email by bhavanijayakumaran · Pull Request #21845 · chapel-lang/chapel · GitHub
Log Message:
For Macs make the default Mailer the mail option to send email (#21845)

Issue:
https://github.com/Cray/chapel-private/issues/4478

Fix:
In mac native email works behind the proxy so use that instead of
send_email.py.
In Nightly check if underlying platform is mac and set the mailer
default to send emails.

  • Tested on Osprey and ChapelMacs:
    Mac:
    $chplhomedir = /Users/chapelu/bhavani/chapel
    [ For Mac systems use the default Mail. Defaulting to 'mail'.]
    $mailer = mail

Osprey:
$chplhomedir = /lus/sonexion/jayakumb/chapel
$mailer = /lus/sonexion/jayakumb/chapel/util/test/send_email.py
--header=Precedence=bulk

Reviewed by @jhh67

Compare: Comparing 6a9084c14e74c6bd19ecc9823086e1b4b137f556...ba3757c904ad74bd36b3f04076382e46d7aa465e · chapel-lang/chapel · GitHub

Diff:
M util/cron/nightly
https://github.com/chapel-lang/chapel/pull/21845.diff