Getting Started | Documentation | Glish | Learn More | Programming | Contact Us |
Version 1.9 Build 1556 |
|
Package | utility | |
Module | misc | |
Tool | os |
\n
can be used to create multiple lines in the message.
If the sender is given as a boolean, it is assumed that the
message contains lines containing the sender, subject, etc..
Otherwise the message is prepended with such lines.
The mailer to be used can be defined in the aipsrc variable os.mailer. It defaults to mailx.
The function is used by bug and ask. Currently it uses a shell command to do the mailing.
dos.mail ('line1\nline2', 'gvd mhaller', 'noordam', 'some subject', cc='tcornwel@nrao.edu wyoung@nrao.edu')
message | in | message to send | |
Allowed: | string | ||
recipient | in | whom to send the message | |
Allowed: | string | ||
sender | in | whom the message comes from | |
Allowed: | string | ||
Default: | T | ||
subject | in | subject of the email | |
Allowed: | string | ||
Default: | '' | ||
cc | in | whom to cc the message | |
Allowed: | string | ||
Default: | '' | ||
bcc | in | whom to bcc (blind copy) the message | |
Allowed: | string | ||
Default: | '' |