Connecting to Google app email servers in Python to send from an alias

Posted by user575228 on Stack Overflow See other posts from Stack Overflow or by user575228
Published on 2011-01-14T04:35:10Z Indexed on 2011/01/14 4:53 UTC
Read the original article Hit count: 223

Filed under:
|
|
|

I'm looking to send many emails via Python and would like to connect to Google's email servers to send it from my company email address (it's for work). I've got working code for sending the email through the old company email ([email protected]) which is our login, but can't figure out how to send it through the alias ([email protected]) we use frequently.

Long story short, logging in with my regular Google Apps account won't do and I need to sign in with an alias (nickname) instead. Alternatively, I can sign with the regular account ([email protected]) but send via a different email ([email protected]).

Working in python and pretty new to programming, but am a good listener! (It's like this question: Google Apps - Send email from a nickname but in Python).

© Stack Overflow or respective owner

Related posts about python

Related posts about email