473,320 Members | 1,612 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

Mod_python and SMTP server

Hi,
Is there any one knows, if I want to use mod_python to handle my
html form, I must have a SMTP server on my PC(winxp pro)?
Where can I get a free SMTP server?

I cann't follow mod_python's manual example
(http://www.svencoop.com/manual/mod/m.../tut-pub.html), why ...

Thanks a lot.

Nancy
Jul 18 '05 #1
7 2310
Why not post your questions to the mod_python mailing list??

"Nancy" <wx*****@hotmail.com> wrote in message
news:cf**************************@posting.google.c om...
Hi,
Is there any one knows, if I want to use mod_python to handle my
html form, I must have a SMTP server on my PC(winxp pro)?
Where can I get a free SMTP server?

I cann't follow mod_python's manual example
(http://www.svencoop.com/manual/mod/m.../tut-pub.html), why ...

Thanks a lot.

Nancy

Jul 18 '05 #2
Nancy wrote:
Hi,
Is there any one knows, if I want to use mod_python to handle my
html form, I must have a SMTP server on my PC(winxp pro)?
Where can I get a free SMTP server?

I cann't follow mod_python's manual example
(http://www.svencoop.com/manual/mod/m.../tut-pub.html), why ...


Right, the example assumes you are running on Linux or Mac OS X, which
run an SMTP server (like sendmail) by default.

You could search for an STMP server for Windows (like blat or xmail),
but that isn't necessary.

You can change the SMTP_SERVER line in your program to use the same STMP
server that your email uses. Also, change WEBMASTER to your own email
address.
If that server requires you to login before allowing you to send email,
add this line to your script after "conn = smtplib.SMTP(SMTP_SERVER)":
conn.login(username, password)
Jul 18 '05 #3
"Lucas Raab" <py*********@hotmail.com> wrote in message news:<yN****************@newsread2.news.atl.earthl ink.net>...
Why not post your questions to the mod_python mailing list??

How??
Jul 18 '05 #4
Hi,
Very useful suggestion! Now the problem is, suppose I use hotmail as
my SMTP, who know what is the SMTP name of hotmail?
If I use another SMTP, I got an error:
error: (10061, 'Connection refused')

Now, what should I do?
Thanks a lot.

Nancy
Doug Holton <in****@spam.here> wrote in message news:<dP********************@comcast.com>...
Nancy wrote:
Hi,
Is there any one knows, if I want to use mod_python to handle my
html form, I must have a SMTP server on my PC(winxp pro)?
Where can I get a free SMTP server?

I cann't follow mod_python's manual example
(http://www.svencoop.com/manual/mod/m.../tut-pub.html), why ...


Right, the example assumes you are running on Linux or Mac OS X, which
run an SMTP server (like sendmail) by default.

You could search for an STMP server for Windows (like blat or xmail),
but that isn't necessary.

You can change the SMTP_SERVER line in your program to use the same STMP
server that your email uses. Also, change WEBMASTER to your own email
address.
If that server requires you to login before allowing you to send email,
add this line to your script after "conn = smtplib.SMTP(SMTP_SERVER)":
conn.login(username, password)

Jul 18 '05 #5
Check out: http://mailman.modpython.org/mailman...nfo/mod_python. It's
got subsciption info and sign-up.

"Nancy" <wx*****@hotmail.com> wrote in message
news:cf**************************@posting.google.c om...
"Lucas Raab" <py*********@hotmail.com> wrote in message

news:<yN****************@newsread2.news.atl.earthl ink.net>...
Why not post your questions to the mod_python mailing list??

How??

Jul 18 '05 #6
Nancy wrote:
Hi,
Very useful suggestion! Now the problem is, suppose I use hotmail as
my SMTP, who know what is the SMTP name of hotmail?
If I use another SMTP, I got an error:
error: (10061, 'Connection refused')

Now, what should I do?
Thanks a lot.

Nancy
You're going to have trouble using hotmail as an SMTP server, as it
doesn't support SMTP...

David



Doug Holton <in****@spam.here> wrote in message news:<dP********************@comcast.com>...
Nancy wrote:
Hi,
Is there any one knows, if I want to use mod_python to handle my
html form, I must have a SMTP server on my PC(winxp pro)?
Where can I get a free SMTP server?

I cann't follow mod_python's manual example
(http://www.svencoop.com/manual/mod/m.../tut-pub.html), why ...


Right, the example assumes you are running on Linux or Mac OS X, which
run an SMTP server (like sendmail) by default.

You could search for an STMP server for Windows (like blat or xmail),
but that isn't necessary.

You can change the SMTP_SERVER line in your program to use the same STMP
server that your email uses. Also, change WEBMASTER to your own email
address.
If that server requires you to login before allowing you to send email,
add this line to your script after "conn = smtplib.SMTP(SMTP_SERVER)":
conn.login(username, password)

Jul 18 '05 #7
Hi,
So is there any other way to use python or mod_python writing a web page?
I mean not using form.py/email, no SMTP server.

Thanks a lot.

Nancy

David Fraser <da****@sjsoft.com> wrote in message news:<cd**********@ctb-nnrp2.saix.net>...
Nancy wrote:
Hi,
Very useful suggestion! Now the problem is, suppose I use hotmail as
my SMTP, who know what is the SMTP name of hotmail?
If I use another SMTP, I got an error:
error: (10061, 'Connection refused')

Now, what should I do?
Thanks a lot.

Nancy


You're going to have trouble using hotmail as an SMTP server, as it
doesn't support SMTP...

David



Doug Holton <in****@spam.here> wrote in message news:<dP********************@comcast.com>...
Nancy wrote:

Hi,
Is there any one knows, if I want to use mod_python to handle my
html form, I must have a SMTP server on my PC(winxp pro)?
Where can I get a free SMTP server?

I cann't follow mod_python's manual example
(http://www.svencoop.com/manual/mod/m.../tut-pub.html), why ...

Right, the example assumes you are running on Linux or Mac OS X, which
run an SMTP server (like sendmail) by default.

You could search for an STMP server for Windows (like blat or xmail),
but that isn't necessary.

You can change the SMTP_SERVER line in your program to use the same STMP
server that your email uses. Also, change WEBMASTER to your own email
address.
If that server requires you to login before allowing you to send email,
add this line to your script after "conn = smtplib.SMTP(SMTP_SERVER)":
conn.login(username, password)

Jul 18 '05 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Nancy | last post by:
Hi, Guys, I am new to Python. I am trying to following the example on http://www.modpython.org/live/current/doc-html/tut-pub.html In this example, it gives the following html code, <form...
0
by: Julien Cigar | last post by:
Hello, I'm using mod_python 3.1.3 with Apache 2.0.54 on a Debian box with the publisher handler and the Clearsilver template engine, and from time to time apache returns an 500 error code...
1
by: Gregory (Grisha) Trubetskoy | last post by:
The Apache Software Foundation and The Apache HTTP Server Project are pleased to announce the 3.2.7 release of mod_python. Mod_python 3.2.7 is considered a stable release, suitable for production...
1
by: treelife | last post by:
I'm getting and internal server error when | run the following mod_python script. I am actually trying to run Django. Script: from mod_python import apache def handler(req):...
4
by: John Salerno | last post by:
I get this internal error message when I try to access a PSP page: "Invalid command 'PythonHandler', perhaps mis-spelled or defined by a module not included in the server configuration" So it...
0
by: Gregory (Grisha) Trubetskoy | last post by:
The Apache Software Foundation and The Apache HTTP Server Project are pleased to announce the 3.2.10 release of mod_python. Mod_python 3.2.10 is considered a stable release, suitable for production...
7
by: Ben Finney | last post by:
Howdy all, I'm working on a web application that is starting to gain a lot of back-end code written in Python. However, all the current interface code is written in legacy PHP. I'd like to...
10
by: Vincent Delporte | last post by:
Hi I'm still a newbie when it comes to web applications, so would like some help in choosing a solution to write apps with Python: What's the difference between using running it through...
0
by: Gregory (Grisha) Trubetskoy | last post by:
The Apache Software Foundation and The Apache HTTP Server Project are pleased to announce the 3.3.1 release of mod_python. Mod_python 3.3.1 is considered a stable release, suitable for production...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.