Home | History | Annotate | Download | only in site_utils

Lines Matching refs:subject

11      $ echo "Some content" |./gmail_lib.py -s "subject" abc@bb.com xyz@gmail.com
14 $ ./gmail_lib.py -s "subject" abc@bb.com xyz@gmail.com
59 def __init__(self, to, subject, message_text):
64 @param subject: String, subject of the message
68 self.subject = subject
79 message['subject'] = self.subject
121 def send_email(to, subject, message_text, retry=True, creds_path=None):
125 @param subject: Subject of the email.
141 m = Message(to, subject, message_text)
178 parser.add_argument('-s', '--subject', type=str, dest='subject',
179 required=True, help='Subject of the mail')
183 if not args.recipients or not args.subject:
184 print 'Requires both recipients and subject.'
188 send_email(','.join(args.recipients), args.subject , message_text)