M
Miguel Dias Moura
Hello,
when i uploaded my web site to a server i got this message everytime there
was a form with authentication of an email address:
System.Exception: The FromAddress is not syntactically correct, based upon
the pattern set by EmailMessage.ValidateRegEx: [\w-]+@([\w-]+\.)+[\w-]+ To
turn preliminary email address syntax checking, set
EmailMessage.ValidateAddress = false.
My questions are:
- Why does this happen?
- Where and how to i insert this code to solve this problem:
EmailMessage.ValidateAddress = false
Thanks,
Miguel
when i uploaded my web site to a server i got this message everytime there
was a form with authentication of an email address:
System.Exception: The FromAddress is not syntactically correct, based upon
the pattern set by EmailMessage.ValidateRegEx: [\w-]+@([\w-]+\.)+[\w-]+ To
turn preliminary email address syntax checking, set
EmailMessage.ValidateAddress = false.
My questions are:
- Why does this happen?
- Where and how to i insert this code to solve this problem:
EmailMessage.ValidateAddress = false
Thanks,
Miguel