Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #57297
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail |
|---|---|
| Return-Path | <drsalists@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.007 |
| X-Spam-Evidence | '*H*': 0.99; '*S*': 0.00; 'python.': 0.02; 'svn': 0.05; '22,': 0.09; 'attack.': 0.09; 'password)': 0.09; 'subject:using': 0.09; 'cc:addr:python-list': 0.11; 'cc:name:python list': 0.16; 'guessing': 0.16; 'spammers': 0.16; 'url:py': 0.16; 'url:svn': 0.16; 'subject:python': 0.16; 'do,': 0.16; 'wrote:': 0.18; 'module': 0.19; 'trying': 0.19; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'file.': 0.24; 'cc:2**0': 0.24; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'message-id:@mail.gmail.com': 0.30; "i'm": 0.30; 'url:mailman': 0.30; 'file': 0.32; 'url:python': 0.33; 'not.': 0.33; 'received:google.com': 0.35; 'smtp': 0.36; 'url:listinfo': 0.36; 'shows': 0.36; 'url:org': 0.36; 'server': 0.38; 'skip:& 10': 0.38; 'skip:. 10': 0.39; 'url:mail': 0.40; 'how': 0.40; 'address': 0.63; 'name': 0.63; 'more': 0.64; 'to:addr:gmail.com': 0.65; 'subject': 0.69; 'browser.': 0.78; 'url:mailer': 0.93; 'browse': 0.95; '2013': 0.98 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=sqrEPQgWShQ4+ORajn+NmZMy9Y5YcjogPgyHExwQTdQ=; b=VZJOL5fASNlX17vCTsVF980YcA4Fx6xmTxLxShGmJNtms9nsGHh/W3aPa29Y5Dao1K eydu6M1bp/fz00J44PtH4FRxe84RuamJhaN4lsH+/wl9y/wnwPCGrxNmxICrHXrK1bZg DHNi5XbyT0lDcmWPUtcW071NvADy4Q+acGTOWSg/8OWf1OYVALZGJHok0zLad5zNWnCK uAbr6lBtkL9GIILm9pnbJ8ohhRfbXS8JPHKgMewB8Cx9vy2zd9x/jTIiId7FfWTC4rgQ gTbN8L40Tp3CsIQsQutgR1W+/Y2rMGq6dmbniDydeZD0ZUkLjYrgvPxdGaBkK+g0cWQH RhLA== |
| MIME-Version | 1.0 |
| X-Received | by 10.180.90.70 with SMTP id bu6mr7093601wib.45.1382467442233; Tue, 22 Oct 2013 11:44:02 -0700 (PDT) |
| In-Reply-To | <90f07095-359c-4c57-9948-39ac089b21da@googlegroups.com> |
| References | <90f07095-359c-4c57-9948-39ac089b21da@googlegroups.com> |
| Date | Tue, 22 Oct 2013 11:44:02 -0700 |
| Subject | Re: using smtp in python |
| From | Dan Stromberg <drsalists@gmail.com> |
| To | ashikbekal@gmail.com |
| Content-Type | multipart/alternative; boundary=f46d043be27aced95a04e958c800 |
| Cc | Python List <python-list@python.org> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.15 |
| 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> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.1374.1382467449.18130.python-list@python.org> (permalink) |
| Lines | 59 |
| NNTP-Posting-Host | 2001:888:2000:d::a6 |
| X-Trace | 1382467449 news.xs4all.nl 15883 [2001:888:2000:d::a6]:58306 |
| X-Complaints-To | abuse@xs4all.nl |
| Xref | csiph.com comp.lang.python:57297 |
Show key headers only | View raw
[Multipart message — attachments visible in raw view] - view raw
On Tue, Oct 22, 2013 at 11:00 AM, <ashikbekal@gmail.com> wrote: > I'm trying to send an email using python. The mail content is taken from > file and subject of the mail is name of the file. The program is invoked as > ./mailclient.py -f <from email address> -d <recipient email address> > -i <file1> -s <server IP address> > . > How to i use server ip address and the mail id to send the email ? (would > i require the password) > -- > https://mail.python.org/mailman/listinfo/python-list > Some SMTP servers require a password and some do not. I'm guessing more and more do, as spammers attack. Here's a module that shows how to do it with a password: http://stromberg.dnsalias.org/svn/mailer/trunk/mailer.py You can check it out with svn checkout <url>, or just browse to the URL in a web browser. HTH
Back to comp.lang.python | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
using smtp in python ashikbekal@gmail.com - 2013-10-22 11:00 -0700 Re: using smtp in python Dan Stromberg <drsalists@gmail.com> - 2013-10-22 11:44 -0700 Re: using smtp in python xDog Walker <thudfoo@gmail.com> - 2013-10-22 15:02 -0700 Re: using smtp in python Chris Angelico <rosuav@gmail.com> - 2013-10-23 17:16 +1100
csiph-web