Formmail from my domain?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • toecheese1
    Member
    • Feb 2005
    • 34

    #1

    Formmail from my domain?

    I put the nms version of formmail on a site and configured it to use aliases and such to protect my address from getting harvested. So far, so good.

    But.. the 'From' address in the received email is always 'nobody@cpanel24.gzo.com' instead of my domain.

    How do I set this to my domain name? I looked at the perl script but didn't see anything obvoius- is there an environmental variable that needs to be set?
  • toecheese1
    Member
    • Feb 2005
    • 34

    #2
    Okay, I found away around it- Formmail will use what you specify in a couple of fields in the form.

    Specifically:
    <input type="hidden" name="email" value="the@email.com" />
    <input type="hidden" name="realname" value="the viewed name" />

    However, the question still remains- it is up to my customer how they code those fields- if they don't code them, I want the default to be his domain instead of the cpanelxx.gzo.com domain.

    Ideas?

    Comment

    Working...