Oops. Sorry 'bout that. I somehow didn't grab the entire traceback info. Well,
turns out one if not more of my BCC attempts is working. Just thought to check
my spam filter of the BCC email address and there are quite a few messages in
there. I've got it working now.
Thanks to you both for the
Hello,
On Fri, Nov 30, 2012 at 12:25:37PM -0800, Ed wrote:
>
> # Send the email
> smtp.sendmail(sender, [to] + bcc, msg.as_string())
>
> The above generates the following error:
> Traceback (most recent call last):
> File "/opt/batch/ebtest/example4.py", line 46, in
> smtp.sendmail(sender
On 30/11/2012 20:25, Ed wrote:
to = 'e...@domain.gov'
bcc = 'e...@domain.net'
[... snippage ...]
smtp.sendmail(sender, [to] + bcc, msg.as_string())
Well, you crucially don't show us the rest of the traceback. But I
imagine you'd have got something like this:
ActivePython 2.7.2.5 (Activ
Hi,
I have found many different suggestions on "how to" code python to send a bcc
email. None of which have worked in my environment - yet. Following is what I
have at this time, which is erroring. Most of the code I've found will
successfully send the message to the TO & CC recipients, but not