How to lunch webpage without using SMTP server?
Doug Holton
insert at spam.here
Wed Jul 21 14:43:44 EDT 2004
Byron wrote:
> Hi Nancy,
>
> In order to be able to send an e-mail, you need to use either an SMTP
> server or have the know-how skill to be able to route the message
> yourself. I would HIGHLY recommend that you use an SMTP server.
>
> Here's a code snipplet that you might find helpful:
>
> def sendmessage(toaddr, fromaddr, message):
> server = smtplib.SMTP('mail.some-server.com')
> server.login("webmaster at some-server.com", "mySecretPassword")
> server.sendmail(fromaddr, toaddr, message)
> server.quit()
>
Again, we've been through all this before. She doesn't have access to
an SMTP server, apparently. She only uses hotmail.
That is why I answered her with instructions on how to run her own SMTP
server just for testing purposes.
More information about the Python-list
mailing list