Radio Toolbelt (Project 'Hephaestus') - email.exe
Provides simple functionality for sending email via the command-line.
Before email.exe can actually send an email, it will be necessary to provide the appropriate values in the email.ini configuration file for your particular email server/host and account information.
To do so, you can create a email.ini file in the same folder as email.exe.
The email.ini file should look similar the following:
- verbose - By default (at the time of this writing), the verbose value is set to True; which activates the option to provide more details of what is going on during the overall process. This can be disabled in order to reduce the associated noise.
- name - This would be typically be set to first and last name of the associated "person" sending the email.
- email - This is the email address that will be shown to the recipient of the email.
- host - This is the email server for the email account that will be utilized to send the email through (ie. smtp.gmail.com).
- user - The user account name for the email account that will be used to send the email (typically an email address).
- pass - The password for the account.
- port - The port number that the server will use to communicate (ie. 587).
- ssl - Most modern email servers require that the communication with the server occur over a secure connect (SSL), thus the default of True; older servers may need to disable SSL (False).
- --to - The to: address. Can be formatted as a standard email address or an outlook-style email address similar to "First Last <email@example.com>".
- --cc - The cc: address (optional).
- --bcc - The bcc: address (optional).
- --subject - The summary of the message.
- --body - The actual content of the message.
- --html - Whether or not the body is HTML formatted (optional).
Please note that any value (to, cc, bcc, subject, body) that has a value containing one or more spaces will need to be quoted.
End User License Agreement