Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #103691
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Anthony Papillion <anthony@cajuntechie.org> |
| Newsgroups | comp.lang.python |
| Subject | Sending an email with a binary attachment |
| Date | Mon, 29 Feb 2016 02:10:00 -0600 |
| Lines | 37 |
| Message-ID | <mailman.0.1456733421.20602.python-list@python.org> (permalink) |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=utf-8 |
| Content-Transfer-Encoding | 7bit |
| X-Trace | news.uni-berlin.de bvRup/CSlP1xNvkS+az1Rg18B31EPgPg2nxL6yjLBWCw== |
| Return-Path | <anthony@cajuntechie.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.001 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'binary': 0.05; 'failing': 0.05; 'skip:p 60': 0.05; 'advice?': 0.09; 'pgp': 0.09; 'skip:u 60': 0.09; 'everyone,': 0.15; 'message-----': 0.15; '-----begin': 0.16; '-----end': 0.16; 'error).': 0.16; 'from:addr:anthony': 0.16; 'hash:': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'run.': 0.16; 'simple.': 0.16; 'skip:1 60': 0.16; 'skip:q 60': 0.16; 'still,': 0.16; 'skip:+ 60': 0.18; 'trying': 0.22; 'bit': 0.23; 'seems': 0.23; 'signed': 0.24; 'script': 0.25; "i've": 0.25; 'header:User-Agent:1': 0.26; '(which': 0.26; 'correct': 0.28; 'skip:i 60': 0.29; 'skip:k 60': 0.29; 'skip:m 60': 0.29; 'subject:Sending': 0.29; 'code:': 0.29; 'work.': 0.30; 'code': 0.30; "can't": 0.32; 'though,': 0.32; 'skip:b 60': 0.33; 'subject:attachment': 0.33; 'thanks!': 0.34; 'file': 0.34; 'received:10.0': 0.34; 'done': 0.35; 'quite': 0.35; 'to:addr :python-list': 0.36; 'received:10': 0.37; 'someone': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.40; 'subject:with': 0.40; 'some': 0.40; 'address': 0.61; 'research': 0.62; 'finally': 0.70; 'received:10.0.2': 0.84; 'to:name:python': 0.84 |
| User-Agent | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1 |
| X-Zoho-Virus-Status | 1 |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.21 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Xref | csiph.com comp.lang.python:103691 |
Show key headers only | View raw
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512 Hello Everyone, I've been trying to write a /very/ simple script that will email a binary file to an email address when run. Pretty simple. I've done quite a bit of research and have finally settled on the following code: http://pastebin.com/sryj98wW For some reason though, sending mail is failing every time. I've made sure that the password is correct (which seems to be the most usual error). Still, I just can't get it to work. Can someone take a look at this code and give me some advice? Thanks! Anthony -----BEGIN PGP SIGNATURE----- iQIcBAEBCgAGBQJW0/zYAAoJEAKK33RTsEsVH5YP/jisLkuK4SAD6E06dO/czn1V bO1QlzqTje8giXUWGyVeGS9MHAA1S2TlHc/rp01/DHTt1iYT50qGIaPxzUxBTMEX mBCFFUSgg6LjkY+9b0c+o4OmviZlX7/KA6wT9IpFEG0l86Uj+z39rcBHm+GauiX+ IgMS5lWXfPmIEwiKzByMduxEgfj6kQW6PhkR5hTmOvd3sbILR91U9NiigrUD1ukM +eN4LnKVu5Qpyb8X34Ze0NF7tiMr7tTQyBIq6C6ORGR/IPri407Ro8ACHBd55xZV QxHjFVemms9s7ala0aoBcpRKr4PG35Ebm+7CcZaDj0fdk11mRvpqCZtGfodw/+sL Crrxoz11hC//DHslZrEuNlJHgRqnsw+abKG8jIaJCrIW1f9BiyiWse+RRwbpN8IY 1C0gD4E1N3dUqGFrhyD/Xuy0tkXWpfiYhcLJQY+j7exrf00s+ASUTrd92lDCzxW4 pwuPZYN6nXY6dh9q72fgoEzqU0eDIzSgX99fODcxqp1L2ieczWMMajlWQJrJEcUe UgxB8IvlvuD3NpzZXisEG8ZzqhZT6GOurHGbBusAW2M9zaqImb4qGEid7HS4BL/c Kj7PspXz+8gD3SKZ/dOBdFlKK1KM1utekB0UnmBboZ9nXVhz5qVPaiVgjPunB5TG 1fMuuGiy2yl5pfTNvH8a =Ff+J -----END PGP SIGNATURE-----
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Sending an email with a binary attachment Anthony Papillion <anthony@cajuntechie.org> - 2016-02-29 02:10 -0600
Re: Sending an email with a binary attachment Peter Pearson <pkpearson@nowhere.invalid> - 2016-02-29 17:08 +0000
Re: Sending an email with a binary attachment Chris Angelico <rosuav@gmail.com> - 2016-03-01 04:13 +1100
Re: Sending an email with a binary attachment Grant Edwards <invalid@invalid.invalid> - 2016-02-29 18:22 +0000
Re: Sending an email with a binary attachment Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2016-02-29 20:43 -0500
Re: Sending an email with a binary attachment Anthony Papillion <anthony@cajuntechie.org> - 2016-03-01 01:58 -0600
Re: Sending an email with a binary attachment Chris Angelico <rosuav@gmail.com> - 2016-03-01 19:03 +1100
Re: Sending an email with a binary attachment Anthony Papillion <anthony@cajuntechie.org> - 2016-03-01 22:29 -0600
csiph-web