Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #11253
| From | Dennis Lee Bieber <wlfraed@ix.netcom.com> |
|---|---|
| Subject | Re: generate and send mail with python: tutorial |
| Date | 2011-08-11 23:51 -0700 |
| Organization | > Bestiaria Support Staff < |
| References | <509f6fd7-5054-4210-9ede-4e198c71e0ed@e7g2000vbw.googlegroups.com> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.2203.1313131906.1164.python-list@python.org> (permalink) |
On Thu, 11 Aug 2011 08:07:09 -0700 (PDT), aspineux <aspineux@gmail.com>
declaimed the following in gmane.comp.python.general:
> Hi I have written a tutorial about how to generate and send emails
> with python.
Is that really such a difficult task?
Okay, I didn't really use Python for the entire creation of the
message... But my first real Python program (using 1.4 or 1.5, whatever
was included in the first "Programming Python" disk, for AmigaOS) was a
rudimentary outgoing SMTPd which had to parse headers from message
files "queued" by an ARexx script from an Amiga version of ELM, then
handshake with the ISP SMTPd to relay the message onward. It took less
than a week after buying the book that I had this ARexx/Python hybrid
working -- and it worked better than either C-language programs I'd
downloaded (at that period of time, Amiga email programs ONLY read from
local spool and queued to local spool; separate programs had to be used
to read POP3 and send SMTP... My first SMTP utility presumed 1) direct
connection to destination address, 2) created an email file for each
address -- problem: if a destination did not have a receiving SMTPd [ie,
one needed to do an MX lookup instead] it would hang trying to send that
message, and never process others... The second program used ISP relay
-- but it only parsed the "TO:" header, and thereby failed to handshake
CC and BCC destinations)
--
Wulfraed Dennis Lee Bieber AF6VN
wlfraed@ix.netcom.com HTTP://wlfraed.home.netcom.com/
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
generate and send mail with python: tutorial aspineux <aspineux@gmail.com> - 2011-08-11 08:07 -0700
Re: generate and send mail with python: tutorial Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2011-08-11 23:51 -0700
Re: generate and send mail with python: tutorial maedox <paal.nilsen@gmail.com> - 2011-08-12 00:21 -0700
Re: generate and send mail with python: tutorial maedox <paal.nilsen@gmail.com> - 2011-08-12 00:21 -0700
Re: generate and send mail with python: tutorial aspineux <aspineux@gmail.com> - 2011-08-12 05:59 -0700
Re: generate and send mail with python: tutorial Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2011-08-12 23:38 +1000
Re: generate and send mail with python: tutorial aspineux <aspineux@gmail.com> - 2011-08-12 11:17 -0700
Re: generate and send mail with python: tutorial Terry Reedy <tjreedy@udel.edu> - 2011-08-12 20:18 -0400
Re: generate and send mail with python: tutorial Ben Finney <ben+python@benfinney.id.au> - 2011-08-13 10:43 +1000
Re: generate and send mail with python: tutorial Ben Finney <ben+python@benfinney.id.au> - 2011-08-13 11:00 +1000
Re: generate and send mail with python: tutorial aspineux <aspineux@gmail.com> - 2011-08-13 03:22 -0700
csiph-web