Re: Email list and part of website code

2023-06-22 Thread Fulian Wang via Python-list
A little confused about that I got the email list different. Sometimes has names and email address displayed on it, sometimes not . If I don’t follow the new list, just type python-l...@pythone.org It's another different one with different name on it. that confuse me to know which one is new one

Re: Email messages from grouped email using IMAPClient in Python.

2019-09-12 Thread Barry Scott
> On 12 Sep 2019, at 06:06, Srinivas Pullabhotla wrote: > > Hello, > > I am trying to fetch email messages from a gmail inbox. So, there will be > 1000s of messages sent to Inbox and since they are 1000s, the emails are > grouped 100 per each email item. > > When I tried this method, the p

Re: Email messages from grouped email using IMAPClient in Python.

2019-09-11 Thread DL Neil via Python-list
On 12/09/19 5:06 PM, Srinivas Pullabhotla wrote: Hello, I am trying to fetch email messages from a gmail inbox. So, there will be 1000s of messages sent to Inbox and since they are 1000s, the emails are grouped 100 per each email item. When I tried this method, the program only fetches some b

Re: Email blast management?

2019-01-16 Thread Abdur-Rahmaan Janhangeer
unless there's a solid python solution out there ready to plug in Abdur-Rahmaan Janhangeer http://www.pythonmembers.club Mauritius -- https://mail.python.org/mailman/listinfo/python-list

RE: Email blast management?

2019-01-14 Thread Avi Gross
om: Python-list On Behalf Of Chris Angelico Sent: Monday, January 14, 2019 10:25 AM To: Python Subject: Re: Email blast management? On Tue, Jan 15, 2019 at 12:53 AM Hartmut Goebel wrote: > > Am 14.01.19 um 12:47 schrieb Chris Angelico: > > It's a whole lot more respectful t

Re: Email blast management?

2019-01-14 Thread Chris Angelico
On Tue, Jan 15, 2019 at 12:53 AM Hartmut Goebel wrote: > > Am 14.01.19 um 12:47 schrieb Chris Angelico: > > It's a whole lot more respectful than keeping your own database of > > email addresses and then having it compromised some day. > > This assumes that one would not *keep* a list of customers

Re: Email blast management?

2019-01-14 Thread Hartmut Goebel
Am 14.01.19 um 12:47 schrieb Chris Angelico: > It's a whole lot more respectful than keeping your own database of > email addresses and then having it compromised some day. This assumes that one would not *keep* a list of customers in in company. -- Schönen Gruß Hartmut Goebel Dipl.-Informatiker

Re: Email blast management?

2019-01-14 Thread Chris Angelico
On Mon, Jan 14, 2019 at 10:39 PM Hartmut Goebel wrote: > > Am 09.01.19 um 18:59 schrieb Chris Angelico: > > TBH, I'd recommend using a service like MailChimp, avoiding the entire > > Python question at all. > > But for this you need to hand over the addresses to a third-party (the > service provid

Re: Email blast management?

2019-01-14 Thread Hartmut Goebel
Am 09.01.19 um 18:59 schrieb Chris Angelico: > TBH, I'd recommend using a service like MailChimp, avoiding the entire > Python question at all. But for this you need to hand over the addresses to a third-party (the service provider). This does not respect the privacy of the customers. -- Schönen

Re: Email blast management?

2019-01-09 Thread Chris Angelico
On Thu, Jan 10, 2019 at 4:19 AM Tobiah wrote: > > I'm tasked with adding the ability for users of a website to > send bulk emails out to their customers. Before I write it all > from scratch, are there any good tools that will allow me to provide: > > > * A place to compose their email, w

[ANN] maildog, Re: email automation

2018-10-30 Thread Brian Oney via Python-list
On Tue, 2018-10-23 at 13:58 +0200, Brian J. Oney wrote: > On Tue, 2018-10-23 at 10:31 +0100, Ali Rıza KELEŞ wrote: > > On Tue, 23 Oct 2018 at 09:07, Thomas Jollans wrote: > Now that it seems that I will be writing this. So I have gotten so far as to have a little package called 'maildog' working

Re: email automation

2018-10-23 Thread Thomas Jollans
On 2018-10-23 13:58, Brian J. Oney via Python-list wrote: > Now that it seems that I will be writing this. What is the recommended way to > set up a timer. I know 2 system options, systemd timers and cron jobs. I > prefer the former for the handy logging options. What about a python solution? cele

Re: email automation

2018-10-23 Thread Brian J. Oney via Python-list
On Tue, 2018-10-23 at 10:31 +0100, Ali Rıza KELEŞ wrote: > On Tue, 23 Oct 2018 at 09:07, Thomas Jollans wrote: > > > After some basic research I have a few options: > > >  > > >  1. Grapple with OpenEMM (interesting software, has python library, > > > still alive and kicking, a bit overkill f

Re: email automation

2018-10-23 Thread Ali Rıza KELEŞ
On Tue, 23 Oct 2018 at 09:07, Thomas Jollans wrote: > > After some basic research I have a few options: > > > > 1. Grapple with OpenEMM (interesting software, has python library, > > still alive and kicking, a bit overkill for my use-case); > > 2. build on the examples in 'Automate the

Re: email automation

2018-10-23 Thread Thomas Jollans
On 22/10/2018 18:35, Brian Oney via Python-list wrote: > Dear List, > > I would like to send out custom automated replies to email. In the future, I > would like to be able to integrate nltk and fuzzy matching if necessary. > > After some basic research I have a few options: > > 1. Grapple

RE: email automation

2018-10-23 Thread Ryan Johnson
Consider a web service API…Not really sure about where you want to evaluate your incoming emails, but perhaps MailChimp could help. https://mailchimp.com/features/marketing-automation/ There are a bunch of ways to automate things with web services now, using Zapier. https://mailchimp.com/feature

Re: Email parsing and unicode/utf8

2018-10-15 Thread dieter
Thomas Jollans writes: > I just stumbled over some curious behaviour of the stdlib email parsing > APIs which accept strings rather than bytes. It appears that you can't > parse an 8-bit UTF-8 message you have as a str without first encoding it. The primary purpose of an email parser is likely th

Re: email 8bit encoding

2013-08-02 Thread Antoon Pardon
Op 01-08-13 17:20, ru...@yahoo.com schreef: > On 07/29/2013 02:52 PM, Antoon Pardon wrote: >> Op 29-07-13 01:41, ru...@yahoo.com schreef: >>> How, using Python-3.3's email module, do I "flatten" (I think >>> that's the right term) a Message object to get utf-8 encoded >>> body with the headers: >>>

Re: email 8bit encoding

2013-08-02 Thread Antoon Pardon
Op 01-08-13 17:20, ru...@yahoo.com schreef: > On 07/29/2013 02:52 PM, Antoon Pardon wrote: >> Op 29-07-13 01:41, ru...@yahoo.com schreef: >>> How, using Python-3.3's email module, do I "flatten" (I think >>> that's the right term) a Message object to get utf-8 encoded >>> body with the headers: >>>

Re: email 8bit encoding

2013-08-01 Thread rurpy
On 07/29/2013 02:52 PM, Antoon Pardon wrote: > Op 29-07-13 01:41, ru...@yahoo.com schreef: >> How, using Python-3.3's email module, do I "flatten" (I think >> that's the right term) a Message object to get utf-8 encoded >> body with the headers: >> Content-Type: text/plain; charset=UTF-8 >> Con

Re: email 8bit encoding

2013-07-31 Thread Antoon Pardon
Op 29-07-13 01:41, ru...@yahoo.com schreef: How, using Python-3.3's email module, do I "flatten" (I think that's the right term) a Message object to get utf-8 encoded body with the headers: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit when the message payload was se

Re: email with a non-ascii charset in Python3 ?

2012-08-15 Thread Ben Finney
Steven D'Aprano writes: > On Wed, 15 Aug 2012 17:57:47 +0100, MRAB wrote: > > >> #!/usr/bin/python3 > >> #_*_ coding: latin1 _*_ > >> > > Aw well as the other replies, the "coding" line should be: > > > > #-*- coding: latin1 -*- > > I don't believe that actually matters to Python. It may matter

Re: email with a non-ascii charset in Python3 ?

2012-08-15 Thread Steven D'Aprano
On Wed, 15 Aug 2012 17:57:47 +0100, MRAB wrote: >> #!/usr/bin/python3 >> #_*_ coding: latin1 _*_ >> > Aw well as the other replies, the "coding" line should be: > > #-*- coding: latin1 -*- I don't believe that actually matters to Python. It may matter to Emacs or some other editors, but Python

Re: email with a non-ascii charset in Python3 ?

2012-08-15 Thread MRAB
On 15/08/2012 13:16, Helmut Jarausch wrote: Hi, I'm sorry to ask such a FAQ but still I couldn't find an answer - neither in the docs nor the web. What's wrong with the following script? Many thanks for a hint, Helmut. #!/usr/bin/python3 #_*_ coding: latin1 _*_ Aw well as the other replies

Re: email with a non-ascii charset in Python3 ?

2012-08-15 Thread Helmut Jarausch
On Wed, 15 Aug 2012 14:48:40 +0200, Christian Heimes wrote: > Am 15.08.2012 14:16, schrieb Helmut Jarausch: >> Hi, >> >> I'm sorry to ask such a FAQ but still I couldn't find an answer - >> neither in the docs nor the web. >> >> What's wrong with the following script? >> >> Many thanks for a hi

Re: email with a non-ascii charset in Python3 ?

2012-08-15 Thread Christian Heimes
Am 15.08.2012 14:16, schrieb Helmut Jarausch: > Hi, > > I'm sorry to ask such a FAQ but still I couldn't find an answer - neither in > the docs nor the web. > > What's wrong with the following script? > > Many thanks for a hint, > Helmut. > > #!/usr/bin/python3 > #_*_ coding: latin1 _*_ > > i

Re: Email Id Verification

2012-05-25 Thread Jon Clements
On Friday, 25 May 2012 14:36:18 UTC+1, Grant Edwards wrote: > On 2012-05-25, Steven D'Aprano wrote: > > On Thu, 24 May 2012 05:32:16 -0700, niks wrote: > > > >> Hello everyone.. > >> I am new to asp.net... > >> I want to use Regular Expression validator in Email id verification.. > > > > Why do y

Re: Email Id Verification

2012-05-25 Thread Cameron Simpson
On 25May2012 13:36, Grant Edwards wrote: | On 2012-05-25, Steven D'Aprano wrote: | > On Thu, 24 May 2012 05:32:16 -0700, niks wrote: | >> Hello everyone.. | >> I am new to asp.net... | >> I want to use Regular Expression validator in Email id verification.. | > | > Why do you want to write buggy

Re: Email Id Verification

2012-05-25 Thread Chris Angelico
On Sat, May 26, 2012 at 3:04 AM, Ian Kelly wrote: > I would think that it is not an anti-spam measure, but simply due to > the fact that most addresses containing "spam" tend to be something > like "nos...@invalid.net", being either a fake address or a junk inbox > that is only checked when an imp

Re: Email Id Verification

2012-05-25 Thread Ian Kelly
On Fri, May 25, 2012 at 10:33 AM, Chris Angelico wrote: > On Sat, May 26, 2012 at 2:25 AM, Peter Pearson > wrote: >> Amusingly, every time I log into Discovercard's web site, I >> get a red-letter warning that my registered email address is >> invalid.  Inquiring, I was told that the presence of

Re: Email Id Verification

2012-05-25 Thread Chris Angelico
On Sat, May 26, 2012 at 2:25 AM, Peter Pearson wrote: > Amusingly, every time I log into Discovercard's web site, I > get a red-letter warning that my registered email address is > invalid.  Inquiring, I was told that the presence of the > substring "spam" anywhere in the address (including > "@sp

Re: Email Id Verification

2012-05-25 Thread Peter Pearson
On Fri, 25 May 2012 13:36:18 + (UTC), Grant Edwards wrote: [snip] > . . . Nothing will make your users swear at > you as certainly as when you refuse to accept the e-mail address at > which the reeive e-mail all day every day. Amusingly, every time I log into Discovercard's web site, I get a

Re: Email Id Verification

2012-05-25 Thread Grant Edwards
On 2012-05-25, Steven D'Aprano wrote: > On Thu, 24 May 2012 05:32:16 -0700, niks wrote: > >> Hello everyone.. >> I am new to asp.net... >> I want to use Regular Expression validator in Email id verification.. > > Why do you want to write buggy code that makes your users hate your > program? Don't

Re: Email Id Verification

2012-05-24 Thread Paul Rubin
Ben Finney writes: > The point is that, having collected the email address, it's useless > unless one actually uses it *as an email address*, by sending a message > to it. Before then, “validating” it tells you nothing. Right, the only legitimate use of an email address is sending legitimate emai

Re: Email Id Verification

2012-05-24 Thread Ben Finney
Paul Rubin writes: > Steven D'Aprano writes: > > Why do you want to write buggy code that makes your users hate your > > program? ... > > The only way to validate an email address is to ACTUALLY SEND AN EMAIL TO > > IT. > > Of course spamming people will make them hate you even more. Use the

Re: Email Id Verification

2012-05-24 Thread Chris Angelico
On Fri, May 25, 2012 at 11:35 AM, Paul Rubin wrote: > Steven D'Aprano writes: >> Why do you want to write buggy code that makes your users hate your >> program? ... >> The only way to validate an email address is to ACTUALLY SEND AN EMAIL TO >> IT. > > Of course spamming people will make them hat

Re: Email Id Verification

2012-05-24 Thread Steven D'Aprano
On Thu, 24 May 2012 18:35:21 -0700, Paul Rubin wrote: > Steven D'Aprano writes: >> Why do you want to write buggy code that makes your users hate your >> program? ... >> The only way to validate an email address is to ACTUALLY SEND AN EMAIL >> TO IT. > > Of course spamming people will make them

Re: Email Id Verification

2012-05-24 Thread Paul Rubin
Steven D'Aprano writes: > Why do you want to write buggy code that makes your users hate your > program? ... > The only way to validate an email address is to ACTUALLY SEND AN EMAIL TO > IT. Of course spamming people will make them hate you even more. Insisting that people give you a valid em

Re: Email Id Verification

2012-05-24 Thread MRAB
On 25/05/2012 00:03, Cameron Simpson wrote: On 24May2012 05:32, niks wrote: | Hello everyone.. | I am new to asp.net... Time to run away fast before you're commited then:-) You're aware this is a _python_ list/group, yes? | I want to use Regular Expression validator in Email id verification..

Re: Email Id Verification

2012-05-24 Thread Steven D'Aprano
On Thu, 24 May 2012 05:32:16 -0700, niks wrote: > Hello everyone.. > I am new to asp.net... > I want to use Regular Expression validator in Email id verification.. Why do you want to write buggy code that makes your users hate your program? Don't do it! Write good code, useful code! Validating e

Re: Email Id Verification

2012-05-24 Thread Chris Angelico
On Fri, May 25, 2012 at 9:03 AM, Cameron Simpson wrote: > On 24May2012 05:32, niks wrote: > | Hello everyone.. > | I am new to asp.net... > > Time to run away fast before you're commited then:-) > You're aware this is a _python_ list/group, yes? Committed to an asylum or to source control? Pyth

Re: Email Id Verification

2012-05-24 Thread Cameron Simpson
On 24May2012 05:32, niks wrote: | Hello everyone.. | I am new to asp.net... Time to run away fast before you're commited then:-) You're aware this is a _python_ list/group, yes? | I want to use Regular Expression validator in Email id verification.. You can't. Valid addresses including nesting

Re: Email Id Verification

2012-05-24 Thread Cameron Simpson
On 25May2012 01:20, Chris Angelico wrote: | On Thu, May 24, 2012 at 11:45 PM, Dennis Lee Bieber | wrote: | >        And maybe follow-up with a review of this monster: | > http://www.ex-parrot.com/pdw/Mail-RFC822-Address.html | | That is awesome. Epic. Eyeball-bleeding. +1 !! I hope someone

Re: Email Id Verification

2012-05-24 Thread Ben Finney
John Nagle writes: >It matches anything that looks like a mail user name followed by > an @ followed by anything that looks more or less like a domain name. > The domain name must contain at least one ".", and cannot end with > a ".", which is not strictly correct but usually works. It will

Re: Email Id Verification

2012-05-24 Thread John Nagle
On 5/24/2012 5:32 AM, niks wrote: Hello everyone.. I am new to asp.net... I want to use Regular Expression validator in Email id verification.. Can anyone tell me how to use this and what is the meaning of this \w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)* Not a Python question. It matche

Re: Email Id Verification

2012-05-24 Thread Chris Angelico
On Thu, May 24, 2012 at 11:45 PM, Dennis Lee Bieber wrote: >        And maybe follow-up with a review of this monster: > http://www.ex-parrot.com/pdw/Mail-RFC822-Address.html That is awesome. Epic. Eyeball-bleeding. ChrisA -- http://mail.python.org/mailman/listinfo/python-list

Re: Email Id Verification

2012-05-24 Thread alister
On Thu, 24 May 2012 05:32:16 -0700, niks wrote: > Hello everyone.. > I am new to asp.net... > I want to use Regular Expression validator in Email id verification.. > Can anyone tell me how to use this and what is the meaning of this > \w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)* this is not reall

Re: Email Id Verification

2012-05-24 Thread Chris Angelico
On Thu, May 24, 2012 at 10:32 PM, niks wrote: > Hello everyone.. > I am new to asp.net... > I want to use Regular Expression validator in Email id verification.. > Can anyone tell me how to use this and what is the meaning of > this > \w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)* This is a mailing

Re: email library

2011-03-18 Thread Ethan Furman
peterob wrote: Im completely confinvalided from email library. When you parse email from file it creates object Message. f = open(emailFile, 'r') msg = email.message_from_file(f) f.close() How can I access RAW header of email represented by object msg? I dont wanna access each header field by

Re: email library, get_payload() bug?

2011-02-18 Thread aspineux
On 18 fév, 14:41, peterob wrote: > Helllo, > > I want to get the raw format of email body. the code Im using is > >         for part in email.walk(): >                 if part.get_content_maintype() == 'multipart': >                         continue >                 if part.get_content_type() ==

Re: email discovering code

2010-12-08 Thread Sudheer Satyanarayana
On 12/08/2010 11:53 PM, Tracubik wrote: Hi all, i remember i've found somewhere (i think here but i'm not sure) a signature of a user with a strange python code that, if runned on terminal, reveal the email of the contact Can anyone help me finding it? thanks Nico import base64 encoded = b

Re: Email für Dich

2010-07-19 Thread Deadly Dirk
On Mon, 19 Jul 2010 17:52:56 +0200, Wolfgang Meiners wrote: > Liebe Kirsten, > > ich liebe dich und freue mich, dass du bald auch Ferien hast. > > Wolfgang Und die ganze Python gruppe liebt dich auch. -- The missionaries go forth to Christianize the savages - as if the savages weren't dang

Re: Email in 2.6.4

2010-05-24 Thread Jean-Michel Pichavant
Dirk Nachbar wrote: Sorry guys, I had named my file email.py and hence the error. On 24 May 2010 15:22, Jean-Michel Pichavant > wrote: dirknbr wrote: I have now easy_installled email and I still get errors. It doesn't error on 'import ema

Re: Email in 2.6.4

2010-05-24 Thread Dirk Nachbar
Sorry guys, I had named my file email.py and hence the error. On 24 May 2010 15:22, Jean-Michel Pichavant wrote: > dirknbr wrote: > >> I have now easy_installled email and I still get errors. >> >> >> It doesn't error on 'import email' but does on call to MimeText. >> >> import email >> msg =

Re: Email in 2.6.4

2010-05-24 Thread Mark Lawrence
On 24/05/2010 14:59, dirknbr wrote: I have now easy_installled email and I still get errors. I've done this as well, but don't see why I have to. Is this a documentation bug, an installation bug or what? It doesn't error on 'import email' but does on call to MimeText. import email msg = MIME

Re: Email in 2.6.4

2010-05-24 Thread Jean-Michel Pichavant
dirknbr wrote: I have now easy_installled email and I still get errors. It doesn't error on 'import email' but does on call to MimeText. import email msg = MIMEText('test') NameError: name 'MIMEText' is not defined What should I do? Using easy_install will not prevent the standard lib to b

Re: Email in 2.6.4

2010-05-24 Thread Simon Brunning
On 24 May 2010 14:59:24 UTC+1, dirknbr wrote: > It doesn't error on 'import email' but does on call to MimeText. > > import email > msg = MIMEText('test') > > NameError: name 'MIMEText' is not defined Here you want: msg = email.MIMEText('test') -- Cheers, Simon B. -- http://mail.python.org/ma

Re: Email in 2.6.4

2010-05-24 Thread dirknbr
I have now easy_installled email and I still get errors. It doesn't error on 'import email' but does on call to MimeText. import email msg = MIMEText('test') NameError: name 'MIMEText' is not defined What should I do? -- http://mail.python.org/mailman/listinfo/python-list

Re: Email in 2.6.4

2010-05-24 Thread Jean-Michel Pichavant
dirknbr wrote: I am trying to run from email.mime.text import MIMEText but I get an ImportError: No module named mime.text Since email was pre-installed how do I fix this? Dirk Did you make sure you didn't hide the standard email module by one of your own. Check print email.__file__ /us

Re: Email attachment problem

2010-04-29 Thread Alan Harris-Reid
Chris Rebert wrote: On Thu, Apr 29, 2010 at 1:06 PM, Alan Harris-Reid wrote: Hi there, I want to send an email with an attachment using the following code (running under Python 3.1, greatly simplified to show example) from email.mime.multipart import MIMEMultipart from email.mime.text

Re: Email attachment problem

2010-04-29 Thread Chris Rebert
On Thu, Apr 29, 2010 at 1:06 PM, Alan Harris-Reid wrote: > Hi there, > > I want to send an email with an attachment using the following code (running > under Python 3.1, greatly simplified to show example) > >   from email.mime.multipart import MIMEMultipart >   from email.mime.text import MIMETex

Re: email and unicode

2010-04-18 Thread Steven D'Aprano
On Sun, 18 Apr 2010 03:02:23 -0700, janwillem wrote: > How can you get the unicode file name into the replace string of line 35 > of the snippet: > replace = ReplaceString % dict(content_type=ct, >filename=fn, >params=

Re: Email Script

2010-03-02 Thread Steve Holden
Victor Subervi wrote: > On Tue, Mar 2, 2010 at 11:48 AM, Victor Subervi This sends only the first of the two emails. Why doesn't it work to > send the second? What do? > TIA, > beno > > > Should I put a timer between instances of Email? > > Np. http://en.wikipedia.org/wiki/Ca

Re: Email Script

2010-03-02 Thread Victor Subervi
On Tue, Mar 2, 2010 at 12:56 PM, Victor Subervi wrote: > On Tue, Mar 2, 2010 at 11:53 AM, Victor Subervi > wrote: > >> On Tue, Mar 2, 2010 at 11:48 AM, Victor Subervi >> wrote: >> >>> Hi; >>> I have the following code: >>> >>> def my_mail(): >>> user, passwd, db, host = login() >>> database

Re: Email Script

2010-03-02 Thread mk
Where do you take class Email from? There's no info in your mail on this. Regards, mk -- http://mail.python.org/mailman/listinfo/python-list

Re: Email Script

2010-03-02 Thread Victor Subervi
On Tue, Mar 2, 2010 at 11:53 AM, Victor Subervi wrote: > On Tue, Mar 2, 2010 at 11:48 AM, Victor Subervi > wrote: > >> Hi; >> I have the following code: >> >> def my_mail(): >> user, passwd, db, host = login() >> database = MySQLdb.connect(host, user, passwd, db) >> cursor= database.cursor(

Re: Email Script

2010-03-02 Thread Victor Subervi
On Tue, Mar 2, 2010 at 11:48 AM, Victor Subervi wrote: > Hi; > I have the following code: > > def my_mail(): > user, passwd, db, host = login() > database = MySQLdb.connect(host, user, passwd, db) > cursor= database.cursor() > ourEmail1 = 'mari...@globalsolutionsgroup.vi' > ourEmail1 = '

Re: email scanning for X-Spam-Score

2009-05-26 Thread skip
Helmut>mailmsg = email.message_from_string(msg) Helmut>SPAM_CORE = mailmsg['X-Spam-Score'] Maybe lower case? SPAM_CORE = mailmsg['x-spam-score'] -- Skip Montanaro - s...@pobox.com - http://www.smontanaro.net/ America's vaunted "free press" notwithstanding, story ideas th

Re: email scanning for X-Spam-Score

2009-05-25 Thread Helmut Jarausch
Peter Otten wrote: Helmut Jarausch wrote: my emails received from our mailing system contain a field like X-Spam-Score: -2.2 Given the full email message in 'msg' I've tried mailmsg = email.message_from_string(msg) SPAM_CORE = mailmsg['X-Spam-Score'] but it doesn't work. What do you m

Re: email scanning for X-Spam-Score

2009-05-25 Thread Peter Otten
Helmut Jarausch wrote: > my emails received from our mailing system contain a field like > > X-Spam-Score: -2.2 > > Given the full email message in 'msg' > I've tried >mailmsg = email.message_from_string(msg) >SPAM_CORE = mailmsg['X-Spam-Score'] > but it doesn't work. What do you mean b

Re: email in separate thread

2009-04-10 Thread Aahz
In article <66f23ffc-345e-4603-9519-cd122a116...@j12g2000vbl.googlegroups.com>, joeygartin wrote: > >The problem is the page hangs while the emails are sent. My current >hosting situation does not give me direct access to an email queue. >So I have two options (that I can think of): > >1) Write

Re: email from windows

2009-03-30 Thread Suraj Barkale
prakash jp gmail.com> writes: > Hi all, >   > In windows environment, how to send email from one gmail address to another gmail (or another mail) addrress >   >   Gmail requires SSL smtp support which is missing in Python stdlib. However, you can look at this example (http://www.example-code.com/p

Re: email from windows

2009-03-29 Thread prakash jp
nope not successful. DO let me know the usage of: #From : prakash.st...@gmail.com #To: prakash.st...@gmail.com import sys, smtplib import string fromaddr = raw_input("From: ") toaddrs = string.splitfields(raw_input("To: "), ',') print "Enter message, end with ^D:" msg = '' count = 3 while count >

Re: email from windows

2009-03-29 Thread David Lyon
Hi Prakash, You need to tell the system your smtp host... ie > server = smtplib.SMTP('localhost') needs to read something like server = smtplib.SMTP('smtp.myisp.in') On Mon, 30 Mar 2009 08:58:49 +0530, prakash jp wrote: > preexistant code : > > import sys, smtplib > import string > froma

Re: email from windows

2009-03-29 Thread prakash jp
preexistant code : import sys, smtplib import string fromaddr = raw_input("From: ") toaddrs = string.splitfields(raw_input("To: "), ',') print "Enter message, end with ^D:" msg = '' count = 3 while count > 0: line = sys.stdin.readline() #if not line: #break msg = msg + line

Re: email from windows

2009-03-29 Thread Alan G Isaac
2009/3/29 prakash jp : In windows environment, how to send email from one gmail address to another gmail (or another mail) addrress On 3/29/2009 10:20 PM Chris Rebert apparently wrote: Use the `smtplib` and `email` standard libraries (which, as a bonus, are cross-platform): http://docs.python

Re: email from windows

2009-03-29 Thread Chris Rebert
2009/3/29 prakash jp : > Hi all, > > In windows environment, how to send email from one gmail address to another > gmail (or another mail) addrress Use the `smtplib` and `email` standard libraries (which, as a bonus, are cross-platform): http://docs.python.org/library/smtplib.html http://docs.pyth

Re: Email Program

2009-03-07 Thread Ville M. Vainio
J wrote: > Is it possible to make a GUI email program in Python that stores > emails, composes, ect? Here's one with less than 600 lines: http://code.google.com/p/pyqtimap/ -- http://mail.python.org/mailman/listinfo/python-list

Re: Email Program

2009-03-02 Thread Mike Driscoll
Hi James, On Mon, Mar 2, 2009 at 12:41 PM, James Matthews wrote: > You can look at Digsby for an example of an email program. I've followed Digsby for a while, but it's an instant messenger / social network aggregator, not an email client. It's much like a fancy Pidgin and it's not open source,

Re: Email Program

2009-03-02 Thread Tino Wildenhain
Hi, Dennis Lee Bieber wrote: On Sat, 28 Feb 2009 17:50:35 -0800 (PST), J declaimed the following in gmane.comp.python.general: Is it possible to make a GUI email program in Python that stores emails, composes, ect? What is "ect"? The latin phrase is "et cetera" -- roughly translated

Re: Email Program

2009-03-02 Thread James Matthews
There is always the issue of packaging at the end but Python is your programming language. On Mon, Mar 2, 2009 at 10:19 PM, Wayne Cannon wrote: > The Twisted package (http://twistedmatrix.com/) has some examples of > interacting with e-mail servers. Twisted supports interaction between > as

Re: Email Program

2009-03-02 Thread Wayne Cannon
The Twisted package (http://twistedmatrix.com/) has some examples of interacting with e-mail servers. Twisted supports interaction between asynchronous tasks. --Wayne J wrote: Is it possible to make a GUI email program in Python that stores emails, composes, ect? -- http://mail.python.org/m

Re: Email Program

2009-03-02 Thread James Matthews
You can look at Digsby for an example of an email program. On Mon, Mar 2, 2009 at 8:34 PM, Mike Driscoll wrote: > On Feb 28, 7:56 pm, J wrote: > > Is it possible to make a GUI email program in Python that stores > > emails, composes, ect? Also, could I create my own programming > > language in

Re: Email Program

2009-03-02 Thread Mike Driscoll
On Feb 28, 7:56 pm, J wrote: > Is it possible to make a GUI email program in Python that stores > emails, composes, ect? Also, could I create my own programming > language in Python? What are Pythons limits, or is this just a waste > of my time to learn it. The book, "Programming Python 3rd ed."

Re: Email Program

2009-03-02 Thread Paul McGuire
On Mar 2, 1:11 am, Paul Rubin wrote: > Paul McGuire writes: > > As to your question of whether Python can be used to write an e-mail > > client, or to create a programming language, I assure you both are > > possible.  But also, given your unfamiliarity with Python,

Re: Email Program

2009-03-01 Thread Paul Rubin
Paul McGuire writes: > As to your question of whether Python can be used to write an e-mail > client, or to create a programming language, I assure you both are > possible. But also, given your unfamiliarity with Python, both are > well beyond your skills for some time yet, and you are nowhere ne

Re: Email Program

2009-03-01 Thread Paul McGuire
On Feb 28, 7:56 pm, J wrote: > Is it possible to make a GUI email program in Python that stores > emails, composes, ect? Also, could I create my own programming > language in Python? What are Pythons limits, or is this just a waste > of my time to learn it. This "waste of my time" phrase is a tel

Re: Email Program

2009-03-01 Thread Ralf Schoenian
J wrote: Is it possible to make a GUI email program in Python that stores emails, composes, ect? Hi, yes, it is possible. There are modules in the standard library like email, smtplib and poplib. A gui can be written in wxPython, pyQT, pyGTK or tkinter. There are many more toolkits but these

Re: Email Program

2009-03-01 Thread Tino Wildenhain
J wrote: Is it possible to make a GUI email program in Python that stores emails, composes, ect? Yes this is possible. Regards Tino smime.p7s Description: S/MIME Cryptographic Signature -- http://mail.python.org/mailman/listinfo/python-list

RE: Email Program

2009-03-01 Thread Thomas Raef
t; To: python-list@python.org > Subject: Re: Email Program > > Thomas Raef wrote: > > What a great response. > > It's a correct, straight forward and short answer to the op's question. > > Christian > > -- > http://mail.python.org/mailman/listinfo/python-list -- http://mail.python.org/mailman/listinfo/python-list

Re: Email Program

2009-02-28 Thread Shane Geiger
J wrote: Is it possible to make a GUI email program in Python that stores emails, composes, ect? Also, could I create my own programming language in Python? What are Pythons limits, or is this just a waste of my time to learn it. Python is "Turing complete," which means it is a general-purpo

Re: Email Program

2009-02-28 Thread Lie Ryan
J wrote: > Is it possible to make a GUI email program in Python that stores > emails, composes, ect? Also, could I create my own programming > language in Python? What are Pythons limits, or is this just a waste > of my time to learn it. > -- > http://mail.python.org/mailman/listinfo/python-list >

Re: Email Program

2009-02-28 Thread Christian Heimes
Thomas Raef wrote: > What a great response. It's a correct, straight forward and short answer to the op's question. Christian -- http://mail.python.org/mailman/listinfo/python-list

RE: Email Program

2009-02-28 Thread Thomas Raef
What a great response. > -Original Message- > From: python-list-bounces+traef=ebasedsecurity@python.org > [mailto:python-list-bounces+traef=ebasedsecurity@python.org] On > Behalf Of MRAB > Sent: Saturday, February 28, 2009 8:00 PM > To: python-list@python.org &g

Re: Email Program

2009-02-28 Thread MRAB
J wrote: Is it possible to make a GUI email program in Python that stores emails, composes, ect? Yes. -- http://mail.python.org/mailman/listinfo/python-list

Re: email varification using smtplib or any method

2009-02-20 Thread Gabriel Genellina
En Fri, 20 Feb 2009 02:58:24 -0200, jitendra gupta escribió: when i am changing msg['To'] = "wrongu...@wrongdomain.comddsdjsdsdsjdh" some wrong email then i am getting back failure notice in my inbox, which i dont want.. is there any way so that i can identify wrong email during the run ti

Re: [email/quoprimime.py] AttributeError: 'tuple' object has no attribute 'lstrip'

2009-01-06 Thread Gilles Ganault
On Mon, 05 Jan 2009 17:54:19 -0500, Terry Reedy wrote: >> for email in rows: >> To = email Thanks guys. Turns out email is a tuple, so here's how to extract the columns: for email in rows: email=email[0] -- http://mail.python.org/mailman/listinfo/python-list

Re: [email/quoprimime.py] AttributeError: 'tuple' object has no attribute 'lstrip'

2009-01-05 Thread Terry Reedy
Gilles Ganault wrote: Hello I successfully use the email package to send e-mail from Python scripts, but this script fails when I fetch addresses from an SQLite database where data is Unicode-encoded: == from email.MIMEText import MIMEText import smtplib,sys import apsw connecti

Re: [email/quoprimime.py] AttributeError: 'tuple' object has no attribute 'lstrip'

2009-01-04 Thread Chris Rebert
On Sun, Jan 4, 2009 at 11:15 PM, Gilles Ganault wrote: > Hello > >I successfully use the email package to send e-mail from Python > scripts, but this script fails when I fetch addresses from an SQLite > database where data is Unicode-encoded: > > == > from email.MIMEText import MIMETex

Re: email notifier question ??

2008-11-14 Thread Jorgen Grahn
On Thu, 13 Nov 2008 18:48:04 -0800, Chris Rebert <[EMAIL PROTECTED]> wrote: > 2008/11/13 yoma <[EMAIL PROTECTED]>: >> hi guys! >>I want to use python send an email to acceptor. And i hope to >> receive the message that the acceptor has read my email. >> >> So how to realize that get the messa

  1   2   3   >