+ Reply to Thread
Page 2 of 2 FirstFirst 1 2
Results 11 to 19 of 19

Thread: Unable to get HTMLTemplate to work

  1. #11
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Unable to get HTMLTemplate to work

    cant see anything in the html.

    now u have DEF_ALERT set, check alerts with
    http://neilswartz.com/FormMail/formmail.php?testalert=1

    if working, then u should get an alert when u try ur form

    wot does that alert say?

  2. #12
    Join Date
    May 2006
    Location
    Chicago
    Posts
    30

    Default Re: Unable to get HTMLTemplate to work

    I tried that command from http://neilswartz.com/FormMail/formmail.php?testalert=1 and
    http://localhost/Work/PHP/FormMail/f...hp?testalert=1 with 2 different DEF_ALERT addresses. I also added these two e-mail addesses to TARGET_EMAIL.
    The DEF_ALERTs recieved no e-mails. I've also downloaded & run testmail.php & testmail2.php. Both ran successfully. And finally I tried using the alert_to parameter - still no auto response or error e-mail.

    This is nolonger as serious problem as before - I've convinced my user not to use auto response. But, I still would like to get it to work.
    Last edited by WyleySam; 02-Mar-2007 at 05:17 PM.

  3. #13
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Unable to get HTMLTemplate to work

    u must get alerts working

    think of building a house with ur eyes closed....

  4. #14
    Join Date
    May 2006
    Location
    Chicago
    Posts
    30

    Default Re: Unable to get HTMLTemplate to work

    Ok, I started from scratch. I used the FormMail Wizard to create FM.php & SampleForm.htm. The only address used was xxxxxxx@yahoo.com. I ran SampleForm.htm, filled out the form & submitted it. xxxxxxx@yahoo.com received the E-mail.

    I ran FM.pbp?testalert=1. The screen said Test message sent. Check your email. xxxxxxx@yahoo.com didn't receive anything at all, no alert - nothing.

    I have no idea what to do next. I know my server (WinXP/Apache/PHP) can send emails because it sent one to the recipients. I know the DEF_ALERT can receive e-mails sent from my localhost because it received one when it was a recipient.

    At this point do I open another subject (i.e.: Alerts Don't Work) or stick with you???

    Pertinent information:

    <input type="hidden" name="recipients" value="xxxxxxx-*-yahoo.com" />

    define("AT_MANGLE","-*-");
    define("DEF_ALERT","xxxxxxx@yahoo.com");
    define("EMAIL_NAME","^[-a-z0-9.]+"); // the '^' is an important security feature!
    $TARGET_EMAIL = array(EMAIL_NAME."@localhost/Work/PHP/FormMail$",
    "^xxxxxxx@yahoo\.com$");

  5. #15
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Unable to get HTMLTemplate to work

    so, using the same email address, the server will send form results but not alerts. right?

    ok, when u fill in the form, what emailk address do you enter in the email field?

    i think ur server will only send if the sender is a particular address.

    theres a setting in formmail called FROM_USER. try setting that to whatever ur putting into the forms email address

    and test alert again

  6. #16
    Join Date
    May 2006
    Location
    Chicago
    Posts
    30

    Default Re: Unable to get HTMLTemplate to work

    Yes, that is correct results OK - alerts not OK.
    All e-mail address use in code is xxxxxxx@yahoo.com. The address I use when filling out the form is xxxxxxxx@comcast.net.

    But, here's more info. When FM.php?testalert=1 is run from http://localhost/FormMail no alerts are received by xxxxxxx@yahoo.com or xxxxxxxx@comcast.net. When it is run from http://neilswartz.com/FomMail - xxxxxxx@yahoo.com receives alerts and xxxxxxxx@comcast.net does not. I tried another @comcast.net e-mail address I have and it also did not receive any alerts. I think Comcast is doing soething to stop receiving alerts.

    Now I'm going to try autoresponse from neilswartz.com

  7. #17
    Join Date
    Mar 2004
    Posts
    2,224

    Default Re: Unable to get HTMLTemplate to work

    sounds like ur making progress - its always server issues!

    r u sure localhost is able to send email to the internet?

    i bet it cant

    if ur behind a firewall (who isnt) and on an isp, then ur IP address probably doesnt have a reverse lookup, and even if it does, it probably wont pass various mail sending tests, and so the destingation servers think ur a spammer

  8. #18
    Join Date
    May 2006
    Location
    Chicago
    Posts
    30

    Default Re: Unable to get HTMLTemplate to work

    My current status is I gave up on my localhost and am only using www.neilswartz.com. The recipient is receiving e-mails and DEF_ALERT is receiving alerts. So far my alerts say autorespond failed. More on that later after I work on it for a while.

  9. #19
    Join Date
    May 2006
    Location
    Chicago
    Posts
    30

    Default Re: Unable to get HTMLTemplate to work

    Apparently I had two problems.
    1) My localhost would not allow me to send alerts (but I can send e-mails?).
    2) Comcast is stopping me from using their e-mail accounts with FormMail.

    When ALL e-mail address are set to xxxxxxx@yahoo.com it gets e-mails, alerts, & confirmations.

    I guess I should now try the autoresponse with the SID stuff.

    Once again, thank you for your help.

+ 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. Unable to create check file "/tmp/fm0ad2f6.txt"
    By nurblet in forum FormMail Subscription Support
    Replies: 1
    Last Post: 12-Jul-2005, 02:19 AM
  2. Unable to create check file ERROR
    By mdegan in forum FormMail Subscription Support
    Replies: 1
    Last Post: 12-May-2005, 11:57 PM
  3. Unable to create check file "/fm106c5c.txt" [M3]
    By gwbosma in forum FormMail Subscription Support
    Replies: 20
    Last Post: 16-Mar-2005, 10:23 PM
  4. unable to create check file
    By EPierre in forum FormMail Subscription Support
    Replies: 1
    Last Post: 12-Feb-2005, 08:23 PM
  5. Unable to relay
    By abonnell in forum FormMail Subscription Support
    Replies: 5
    Last Post: 15-Jan-2005, 06:31 AM

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