I have a similar question (importing cx_Oracle, but not related to
cron). I would like to use solution #2 below and it does not work. If
I set LD_LIBRARY_PATH before running python, it works. If I try to set
it via os.environ, it does not work.
I have tried this in an interactive Python shell.
OK, I've discovered the lost messages, but I'm still slightly confused
as to why they ended up there. The messages were being delivered to
the local machine, box1.domain.com, even though I was addressing them
to @domain.com.
My past experience with smtp mail has been that if I addressed the
domai
That seems reasonable. However, using the 'mail' utility I can deliver
the same mail successfully. I assume mail is using sendmail under the
covers, which is doing the same negotiation with the same SMTP server?
--
http://mail.python.org/mailman/listinfo/python-list
I changed debuglevel to 1 and looked at the response on the recipient
names. They are BOTH accepted, but still only my id (d123456) receives
the e-mail. The long id (d1234567890) never gets the e-mail. Here is
the excerpt of the exchange.
send: 'mail FROM:<[EMAIL PROTECTED]> size=160\r\n'
reply
Here is a snippet of code which does not send to all recipients.
However, it also does not inform me of this error. My suspicion is
that this only fails for users with longer usernames. The two I seem
to regularly fail on have 9 and 11 characters respectively. Most users
have names <= 8 characte