mutt-ical icon indicating copy to clipboard operation
mutt-ical copied to clipboard

optionally explicitly pass sendmail by environment variable and then fall back to guess by muttrc

Open Konfekt opened this issue 1 year ago • 0 comments

For users having more than one mail account, how about an optional environment variable to set the sendmail command and only then fall back to guessing it by mutt -Q in

#  mutt/bin/mutt-ical.py (lines 147-149)
def sendmail():
    mutt_setting = subprocess.check_output(["mutt", "-Q", "sendmail"])
    return mutt_setting.strip().decode().split("=")[1].replace('"', '').split()

?

Konfekt avatar Jan 11 '24 16:01 Konfekt