Email Contact Form - wrong From - 1.2.5-DEV
Posted: Wed 14. Sep 2005, 07:23
1.2.5-DEV
The From: field on the email sent, it is going with the data the user wrote on the First Field of the form.
It should be the $phpwcms['SMTP_FROM_EMAIL'] or at least the field email on the form if it is used.
Most of the problems submited here about SMTP|Mail problems (Language string failed to load: instantiate, etc), are because of this bug.
Some SMTP|Mail server doesn't accept wrong email addresses on the From field.
The From: field on the email sent, it is going with the data the user wrote on the First Field of the form.
It should be the $phpwcms['SMTP_FROM_EMAIL'] or at least the field email on the form if it is used.
Most of the problems submited here about SMTP|Mail problems (Language string failed to load: instantiate, etc), are because of this bug.
Some SMTP|Mail server doesn't accept wrong email addresses on the From field.