Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #11257

Re: generate and send mail with python: tutorial

Path csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed6.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <paal.nilsen@gmail.com>
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; '(at': 0.03; 'python.': 0.04; '(using': 0.05; 'pop3': 0.07; 'python"': 0.07; 'python': 0.08; 'message-id:@glegroupsg2000goo.googlegroups.com': 0.09; 'problem:': 0.09; 'reply-to:addr:comp.lang.python': 0.09; 'to:addr:comp.lang.python': 0.09; 'subject:python': 0.11; '"programming': 0.16; '1.5,': 0.16; 'amiga': 0.16; 'bieber': 0.16; 'declaimed': 0.16; 'email addr:ix.netcom.com': 0.16; 'handshake': 0.16; 'lookup': 0.16; 'okay,': 0.16; 'parsed': 0.16; 'smtpd': 0.16; 'url:netcom': 0.16; 'url:wlfraed': 0.16; 'wulfraed': 0.16; 'cc:addr:python-list': 0.16; 'written': 0.16; 'wrote:': 0.16; 'cc:no real name:2**0': 0.20; 'downloaded': 0.21; 'trying': 0.21; 'url:home': 0.21; 'cc:2**0': 0.22; 'header:In-Reply-To:1': 0.22; '-0700': 0.23; 'parse': 0.23; 'subject:tutorial': 0.23; 'worked': 0.23; 'aug': 0.24; 'separate': 0.28; 'lee': 0.28; 'thu,': 0.28; 'second': 0.29; 'script': 0.29; 'cc:addr:python.org': 0.30; 'header,': 0.30; 'relay': 0.30; 'subject:send': 0.30; "didn't": 0.31; 'version': 0.32; 'headers': 0.32; 'header:User-Agent:1': 0.34; 'connection': 0.36; 'file': 0.36; 'created': 0.36; 'friday,': 0.37; 'but': 0.37; 'received:google.com': 0.38; 'received:209.85': 0.38; 'subject:: ': 0.39; 'difficult': 0.39; 'either': 0.39; 'subject:with': 0.39; "i'd": 0.40; 'period': 0.61; 'address': 0.61; 'emails': 0.62; 'took': 0.63; 'direct': 0.66; 'destination': 0.67; 'queued': 0.67; 'august': 0.70; 'header :Reply-To:1': 0.71; 'reply-to:no real name:2**0': 0.71; 'address,': 0.72; 'reply-to:addr:googlegroups.com': 0.74; 'dennis': 0.77; 'buying': 0.81; 'bcc': 0.84; 'hybrid': 0.84; 'received:209.85.213.184': 0.84; 'received:mail- yx0-f184.google.com': 0.84
Newsgroups comp.lang.python
Date Fri, 12 Aug 2011 00:21:23 -0700 (PDT)
In-Reply-To <mailman.2203.1313131906.1164.python-list@python.org>
Complaints-To groups-abuse@google.com
Injection-Info glegroupsg2000goo.googlegroups.com; posting-host=195.159.216.130; posting-account=nIKxrgkAAABRTM6dxHC2hCFMMczdJosc
References <509f6fd7-5054-4210-9ede-4e198c71e0ed@e7g2000vbw.googlegroups.com> <mailman.2203.1313131906.1164.python-list@python.org>
User-Agent G2/1.0
X-Google-Web-Client true
MIME-Version 1.0
Subject Re: generate and send mail with python: tutorial
From maedox <paal.nilsen@gmail.com>
To comp.lang.python@googlegroups.com
Content-Type text/plain; charset=ISO-8859-1
Cc python-list@python.org
X-BeenThere python-list@python.org
X-Mailman-Version 2.1.12
Precedence list
Reply-To comp.lang.python@googlegroups.com
List-Id General discussion list for the Python programming language <python-list.python.org>
List-Unsubscribe <http://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 <http://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe>
Message-ID <mailman.2207.1313133685.1164.python-list@python.org> (permalink)
Lines 31
NNTP-Posting-Host 2001:888:2000:d::a6
X-Trace 1313133685 news.xs4all.nl 23972 [2001:888:2000:d::a6]:48268
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python:11257

Show key headers only | View raw


On Friday, August 12, 2011 8:51:33 AM UTC+2, Dennis Lee Bieber wrote:
> On Thu, 11 Aug 2011 08:07:09 -0700 (PDT), aspineux <aspi...@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
>         wlf...@ix.netcom.com    HTTP://wlfraed.home.netcom.com/

Nice story bro...

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


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