Changeset 1104


Ignore:
Timestamp:
Sep 9, 2012 12:37:26 PM (10 years ago)
Author:
jemian
Message:

sending command-line email from Ubuntu is more idiosyncratic, depending on the version, 10.04 LTS uses postfix, not exim

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pvMail/src/PvMail/pvMail.py

    r1103 r1104  
    273273        cmd = '''cat << +++ | %s\n+++''' % "\n".join(mail_message)
    274274   
    275     if 'Ubuntu' in str(os.uname()):     # Ubuntu uses exim
     275    if 'Ubuntu' in str(os.uname()):     # some Ubuntu (11) uses exim, some (10) postfix
    276276        email_program = '/usr/bin/mail'
    277277        mail_command = "%s %s" % (email_program, to_addr)
Note: See TracChangeset for help on using the changeset viewer.