how to determine smtp server

Hi Timothy,

Timothy Smith wrote:

f rom wrote:

"If yes I put up an error dialog which shows this information to the user and it is his/her decission to
send this information to me (by clicking a send button which in
turn uses smtp to send the mail).
"

But how do you find the smtp server if someone has
installed your program ? (ofcourse if inside your
organization then you may know but otherwise ? )

sorry if i might be missing something, but why even use and smtp server? just use the smtp client library to send the email.

I am using:
        # Import the email modules we'll need
        from email import Encoders
        from email.MIMEMultipart import MIMEMultipart
        from email.MIMEText import MIMEText
        from email.Generator import Generator
        import smtplib

And unless I do something wrong it wants an smtp server name to be able to send an email.

See you
Werner

P.S. This is on Win Platforms, maybe in Linux etc is different as I believe they often have a local smtp server.

ยทยทยท

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org