Τη Κυριακή, 10 Μαρτίου 2013 7:07:25 π.μ. UTC+2, ο χρήστης Michael Torrie έγραψε: > On 03/09/2013 02:25 PM, Νίκος Γκρ33κ wrote: > > > mail = form.getvalue('mail') > > > > > > id what the user types in an html form and click submits. this can be > > > a non valid email of course i just check if there is a '@' in the > > > mail address. > > > > > > But will the mail, gets delivered even if mail's value is invalid? > > > > Who knows. You haven't specified how you are sending e-mail. Likely, if > > an e-mail address is invalid, python still happily hands it off to your > > designated mail server or local MTA (mail transfer agent--could be > > sendmail). What happens there depends entirely on the policies of the > > mail server or MTA you are using. > > > > If python is trying to use sendmail, then probably the process would > > just fail and return some sort of error code. But you will need to > > check on the documentation of whatever e-mail library you are using in > > Python.
I'am using smtplib and i ahve contacted the hostgator administrators and they say that Sendmail is ebaled for my reseller account. -- http://mail.python.org/mailman/listinfo/python-list