This mail never gets delivered. Any ideas why?
torriem at gmail.com
Sun Mar 10 06:07:25 CET 2013
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
More information about the Python-list