PDA

View Full Version : Allowed email addresses



FIN-MAN
29-Aug-2007, 06:29 PM
I have set up the form, and it works. However, I have a set of email addresses for my site that are forwarding addresses. When I have the form send info to a "real" email address, it works. When I have it send mail to one of the forwarding addresses (designed so that they appear to be within the same domain), FormMail complains of a bad address - I get a "FormMail Script Error [M17]" message to my form_alert address complaining about the target email, whether it is in recipients, cc, or bcc. Yes, I use mangle. Is this to be expected? Are email addresses with the designated domain name checked beyond the name? :confused:

russellr
29-Aug-2007, 11:11 PM
Hi,

No, you just need to set your $TARGET_EMAIL correctly.

You can go back thru the config wizard and asnwer the questions more accurately, and that should solve the problem.

FIN-MAN
30-Aug-2007, 04:58 AM
Hi,

No, you just need to set your $TARGET_EMAIL correctly.

You can go back thru the config wizard and asnwer the questions more accurately, and that should solve the problem.
More accurately?

I selected "any email address in " for the domain I am using. Are you telling me I have to specify each of the forwarding email addresses, or am I missing something else? :confused:

russellr
30-Aug-2007, 07:28 AM
Hi,

Sounds like you got that right.

So, there's something else going on.

We don't provide free support, but if you subscribe we do provide a guarantee.

FIN-MAN
30-Aug-2007, 10:58 AM
Hi,

Sounds like you got that right.

So, there's something else going on.

We don't provide free support, but if you subscribe we do provide a guarantee.
I still did not quite understand that answer - should setting

$TARGET_EMAIL = array(EMAIL_NAME."@my_host\.org$");

been enough to support sending email to

my_forwarding_email_address@my_host.org?

Regardless, it appears that if the target email address is merely a forwarding address, you have to list it explicitly. I used the wizard and ended up with

$TARGET_EMAIL = array(EMAIL_NAME."@my_host\.org$",
"^forwarding_email_01@my_host\.org$",
"^forwarding_email_02@my_host\.org$",
"^forwarding_email_03@my_host\.org$");

That seems to have worked.

russellr
30-Aug-2007, 10:20 PM
Hi,



$TARGET_EMAIL = array(EMAIL_NAME."@my_host\.org$");


This is enough usually. But EMAIL_NAME doesn't include underscores, so if you had underscores in your email addresses, that's why it didn't work.

FIN-MAN
31-Aug-2007, 04:15 AM
Hi,



This is enough usually. But EMAIL_NAME doesn't include underscores, so if you had underscores in your email addresses, that's why it didn't work.
That's IT! THANKS!!!