On Sat, Mar 9, 2013 at 12:24 PM, Leam Hall wrote:
> Python 2.6.6 on CentOS 6
>
> I'm in section 3.4.12 of Wesley Chun's "Core Python Applications
> Programming". The POP3 stuff works but I can't seem to get the SMTP to
> connect, it just hangs and then times out. Running it in IDLE gets the same
Python 2.6.6 on CentOS 6
I'm in section 3.4.12 of Wesley Chun's "Core Python Applications
Programming". The POP3 stuff works but I can't seem to get the SMTP to
connect, it just hangs and then times out. Running it in IDLE gets the
same thing. Have also tried with the port # set, as well.
Th
I could not connect with gmail smtp server in Vista 32( worked ok in
XP 32). Both vista and xp have same anti-virus software.
>>> smtplib.SMTP("smtp.gmail.com",587)
Traceback (most recent call last):
File "", line 1, in
smtplib.SMTP("smtp.gmail.com",587)
File "C:\Program Files\Python2
On Sat, 11 Sep 2010 04:09:20 am goodh...@gmail.com wrote:
> I could not connect with gmail smtp server in Vista 32( worked ok
> in XP 32). Both vista and xp have same anti-virus software.
>
> >>> smtplib.SMTP("smtp.gmail.com",587)
>
> Traceback (most recent call last):
>File "", line 1, in
>
smtp_ssl does not work for python 2.5.
can not even connect. not mention about starttls.
On 2010/9/10 19:39, Evert Rol wrote:
Do things work when you use SSL or TLS (through SMTP_SSL or using starttls,
respectively)? Perhaps Vista is more strict in checking for this when
connecting through a
> I could not connect with gmail smtp server in Vista 32( worked ok in XP 32).
> Both vista and xp have same anti-virus software.
>
smtplib.SMTP("smtp.gmail.com",587)
>
> Traceback (most recent call last):
> File "", line 1, in
>smtplib.SMTP("smtp.gmail.com",587)
> File "C:\Program F
I could not connect with gmail smtp server in Vista 32( worked ok in
XP 32). Both vista and xp have same anti-virus software.
smtplib.SMTP("smtp.gmail.com",587)
Traceback (most recent call last):
File "", line 1, in
smtplib.SMTP("smtp.gmail.com",587)
File "C:\Program Files\Python25\
"Grigor Kolev" wrote
I try send a mail with smtplib
Server work with postfix.
I try it
import smtplib
s=smtplib.SMTP("localhost")
This requires you to have an SMTP server running on localhost.
Do you? I notice you say the server works with p
On Thu, Feb 11, 2010 at 3:13 PM, Grigor Kolev wrote:
> Hi.
> I try send a mail with smtplib
> Server work with postfix.
> I try it
>
> import smtplib
> s=smtplib.SMTP("localhost")
> tolist=['grigor.ko...@gmail.com']
> msg = '''\
> From: grigor.ko
Hi.
I try send a mail with smtplib
Server work with postfix.
I try it
import smtplib
s=smtplib.SMTP("localhost")
tolist=['grigor.ko...@gmail.com']
msg = '''\
From: grigor.ko...@gmail.com
Subject: testin'
This is a test '''
s.sendmail("t...@local"
On Sun, Jan 17, 2010 at 9:57 PM, Kirk Z Bailey wrote:
> There is no smtp server available, these are the cards I am delt; can you
> advise on how to play them?
A couple of possibilities:
- I'm no expert on SMTP but don't the MTAs talk SMTP to each other on
port 25? Could you use smtplib to talk
2010/1/17 Kirk Z Bailey
> I am writing a script that will send an email message. This will run in a
> windows XP box. The box does not have a smtp server, so the script must
> crete not merely a smtp client to talk to a MTA, it must BE one for the
> duration of sending the message- then shut off,
On So, 2010-01-17 at 15:45 -0500, Kirk Z Bailey wrote:
> I am writing a script that will send an email message. This will
> run in a windows XP box. The box does not have a smtp server, so
> the script must crete not merely a smtp client to talk to a MTA,
> it must BE one for the duration of sen
Kent Johnson wrote:
> On Sun, Jan 17, 2010 at 3:45 PM, Kirk Z Bailey
> wrote:
>> I am writing a script that will send an email message. This will run in a
>> windows XP box. The box does not have a smtp server, so the script must
>> crete not merely a smtp client to talk to a MTA, it must BE one
On Sun, Jan 17, 2010 at 3:45 PM, Kirk Z Bailey wrote:
> I am writing a script that will send an email message. This will run in a
> windows XP box. The box does not have a smtp server, so the script must
> crete not merely a smtp client to talk to a MTA, it must BE one for the
> duration of sendin
I am writing a script that will send an email message. This will
run in a windows XP box. The box does not have a smtp server, so
the script must crete not merely a smtp client to talk to a MTA,
it must BE one for the duration of sending the message- then shut
off, we don't need no bloody op0en
On Wed, 07 Jan 2009 15:47:25 +0100
Ole Henning Jensen wrote:
> Marco Petersen wrote:
> > I'm using Python 2.5.4. I wanted to try out the SMTP module. I
> > tried to send an email through my Gmail account but it keeps saying
> > that the connection was refused.
> > error: (10061, 'Connection refu
On 1/6/09, Marco Petersen wrote:
> I'm using Python 2.5.4. I wanted to try out the SMTP module. I tried to send
> an email through my Gmail account but it keeps saying that the connection
> was refused.
I used this example to get emailing from python through gmail smtp to work:
http://codecommen
Marco Petersen wrote:
I'm using Python 2.5.4. I wanted to try out the SMTP module. I tried to
send an email through my Gmail account but it keeps saying that the
connection was refused.
This is the code that I used :
import smtplib
msg = 'Test'
server = smtplib.SMTP('smtp.gmail.com')
server
On Tue, Jan 6, 2009 at 4:45 AM, Marco Petersen
wrote:
> I'm using Python 2.5.4. I wanted to try out the SMTP module. I tried to send
> an email through my Gmail account but it keeps saying that the connection
> was refused.
>
> This is the code that I used :
>
> import smtplib
> msg = 'Test'
>
>
>
Marco Petersen wrote:
I'm using Python 2.5.4. I wanted to try out the SMTP module. I tried to
send an email through my Gmail account but it keeps saying that the
connection was refused.
This is the code that I used :
import smtplib
msg = 'Test'
server = smtplib.SMTP('smtp.gmail.com')
server
I'm using Python 2.5.4. I wanted to try out the SMTP module. I tried to
send an email through my Gmail account but it keeps saying that the
connection was refused.
This is the code that I used :
import smtplib
msg = 'Test'
server = smtplib.SMTP('smtp.gmail.com')
server.set_debuglevel(1)
serv
Hi Rob,
Rob wrote:
> Hi, can someone help me interpret the error output below?
>
> I can't tell whether this is a coding error, or a configuration error,
> in which case, it would be up to my host provider.
>
> For privacy reasons, I have changed the actual email addresses to
> [EMAIL PROTECTE
Hi, can someone help me interpret the error output
below?
I can't tell whether this is a coding error, or a
configuration error, in which case, it would be up to my host
provider.
For privacy reasons, I have changed the actual
email addresses to [EMAIL PROTECTED] and [EMAIL PROTECTED].
Shitiz Bansal wrote:
> does this error make sense to anyone?
>
> Traceback (most recent call last):
> File "C:/Documents and
> Settings/Administrator/Desktop/lkp.py", line 46, in
> -toplevel-
> s.sendmail(msg['From'], i, msg.as_string())
> File "C:\Python24\lib\smtplib.py", line 692, in
>
Danny Yoo wrote:
> According to:
>
> http://www.python.org/doc/lib/SMTP-objects.html
>
> the second argument to 's.sendmail()' needs to be a list, even if it is a
> list of a single element. I'm not positive that this is the bug, but it's
> a possible error.
The docs are incorrect and the l
On Tue, 6 Sep 2005, Shitiz Bansal wrote:
> does this error make sense to anyone?
>
> Traceback (most recent call last):
> File "C:/Documents and
> Settings/Administrator/Desktop/lkp.py", line 46, in
> -toplevel-
> s.sendmail(msg['From'], i, msg.as_string())
> File "C:\Python24\lib\smtpli
does this error make sense to anyone?
Traceback (most recent call last):
File "C:/Documents and
Settings/Administrator/Desktop/lkp.py", line 46, in
-toplevel-
s.sendmail(msg['From'], i, msg.as_string())
File "C:\Python24\lib\smtplib.py", line 692, in
sendmail
raise SMTPDataError(code,
On 6 Mai 2005, [EMAIL PROTECTED] wrote:
>I tried to use the mailserver script in library reference to send
> mails but it gives an error:The script and the error are below.Why
> does it give this error?How can i fix?
[...]
> ERROR:
>
> Traceback (most recent call last):
> File "D:\Python23\
Dear Friends,
I tried to use the mailserver script in library reference to send
mails but it gives an error:The script and the error are below.Why
does it give this error?How can i fix?
import smtplib
def prompt(prompt):
return raw_input(prompt).strip()
fromaddr = prompt("From: ")
to
30 matches
Mail list logo