+ Reply to Thread
Results 1 to 7 of 7

Thread: Allowed email addresses

  1. #1
    Join Date
    Aug 2007
    Posts
    4

    Question Allowed email addresses

    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?

  2. #2
    Join Date
    Dec 2003
    Posts
    3,900

    Default Re: Allowed email addresses

    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.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #3
    Join Date
    Aug 2007
    Posts
    4

    Question Re: Allowed email addresses

    Quote Originally Posted by russellr
    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?

  4. #4
    Join Date
    Dec 2003
    Posts
    3,900

    Default Re: Allowed email addresses

    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.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  5. #5
    Join Date
    Aug 2007
    Posts
    4

    Cool Re: Allowed email addresses

    Quote Originally Posted by russellr
    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.

  6. #6
    Join Date
    Dec 2003
    Posts
    3,900

    Default Re: Allowed email addresses

    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.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  7. #7
    Join Date
    Aug 2007
    Posts
    4

    Default Re: Allowed email addresses

    Quote Originally Posted by russellr
    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!!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. Can send to outside e-mail addresses, but not internal
    By Jeremy Aldrich in forum Community Support
    Replies: 6
    Last Post: 09-Jul-2007, 04:26 AM
  2. Hiding email addresses from spammers
    By ewel in forum HOWTO Guides and Tips
    Replies: 28
    Last Post: 17-Apr-2007, 08:31 PM
  3. 405 Method Not Allowed error
    By jross in forum Community Support
    Replies: 0
    Last Post: 26-Apr-2006, 06:43 AM
  4. mail sent to certain addresses only
    By kc3 in forum FormMail Subscription Support
    Replies: 1
    Last Post: 26-Oct-2005, 12:50 AM
  5. Email goes to several addresses but not others, please help
    By WideGlide in forum FormMail Subscription Support
    Replies: 3
    Last Post: 12-Apr-2005, 06:14 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts