[TriEmbed] Simplest way to send e-mail from Python? Carl?

Shane Trent shanedtrent at gmail.com
Mon May 18 16:16:34 CDT 2015


I want to send e-mail from Python. The code below sends e-mail from Ruby
and does not require having your e-mail password in clear text.

require 'mail'

    Mail.deliver do
      from      'user at gmail.com'
      to          'trigger at recipe.ifttt.com'
      subject  '#1235'
      body     "Request from: #{name}."
    end

Is there a similar way to send e-mail from Python without requiring your
e-mail password in clear text in the code?

Thanks,
Shane

-- 
A blog about some of my projects.  http://fettricks.blogspot.com/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.triembed.org/pipermail/triembed_triembed.org/attachments/20150518/ebd566a2/attachment.htm>


More information about the TriEmbed mailing list