+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 17

Thread: Not getting emails...

  1. #1
    Join Date
    Nov 2004
    Posts
    25

    Default Not getting emails...

    I have edited the .php file and configured my webpage however I dont get any emails. When i send with http://www.prj7.com/fibersensysproto/reg3.html i get
    An error occurred while processing the form.

    Our staff have been alerted to the error.
    We apologize for any inconvenience this error may have caused.


    Your form submission was processed by formmail.php (4.08

    when i do the sampleform with the same formmail.php(http://www.prj7.com/fibersensysproto/sampleform.htm) i get

    Thanks! We've received your information and, if it's appropriate, we'll be in contact with you soon.
    Your form submission was processed by formmail.php (4.08


    I dont get the email from either of them. I have entered a def_alert and get no email from it. When i did the test.php it worked. I dont have access to the servers or server statistics. I would greatly appreciate any help in getting formmail to work or suggestions of other systems I can use without knowning my servers stats
    Last edited by Chek; 01-Dec-2004 at 12:40 AM.

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

    Default Re: Not getting emails...

    Hi,

    The first step is to get alerts working because that way FormMail can tell you why something didn't work.

    If you've set DEF_ALERT in formmail.php you can run this test:
    http://www.prj7.com/fibersensysproto...hp?testalert=1

    If you don't receive an email, then you need to find out why PHP cannot send you emails from your server.

    Yahoo, for example, requires that the sender be a valid Yahoo address. To do this you can set $FROM_USER to your email address.

    If that doesn't work, then you can try the testmail scripts we've provided (you mentioned something called "test.php", but I don't know what you mean).

    There's no sensible way to proceed until alerts are being sent to you.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  3. #3
    Join Date
    Nov 2004
    Posts
    25

    Default Re: Not getting emails...

    ahh yea it was foolish of me to not try multiple def_alrets...

    To: xxxxxxxxxx@aol.com
    From: FormMail@prj7.com

    This is a test message. PHP version is 4.3.8

    DOCUMENT_ROOT: /homepages/24/d94611917/htdocs
    SCRIPT_FILENAME: /homepages/24/d94611917/htdocs/fibersensysproto/cgi-bin/formmail.php
    PATH_TRANSLATED: /homepages/24/d94611917/htdocs/fibersensysproto/cgi-bin/formmail.php

    REAL_DOCUMENT_ROOT: /homepages/24/d94611917/htdocs/fibersensysproto/cgi-bin


    this is what i get back minus x'ing out my email
    any ideas what i need to do to get the real form working now that you have seen this?

    p.s. i get off work in 15 minutes so might not be able to try anything till tommorow
    Last edited by Chek; 01-Dec-2004 at 12:51 AM.

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

    Default Re: Not getting emails...

    Hi,

    Now submit the form and you'll get an alert.

    The alert will tell you what's wrong.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  5. #5
    Join Date
    Nov 2004
    Posts
    25

    Default Re: Not getting emails...

    get this error sent when i use the real form. Says no recipients but i see the recipients right there... I tried to put my hidden items in the same place as the sample. What should I try next?

    To: xxxxxxxxx@aol.com
    From: FormMail@prj7.com

    The following error occurred in FormMail:
    no_recipients
    **********
    Error=The form has an internal error - no actions or recipients were specified.


    recipient: 'xxxxxxxxxxxx@fibersensys.com, xxxxxxxxxxx@aol.com'
    fname: ''
    lname: ''
    phone: ''
    time: ''
    am-pm: 'one'
    company_name: ''
    location: ''
    industry: 'one'
    Register: 'Register'






    I just got off work so i wont be able to try anymore stuff till tommorow.. gotta beat the traffic you know how that goes..
    Last edited by Chek; 01-Dec-2004 at 01:08 AM.

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

    Default Re: Not getting emails...

    Hi,

    The sample form you quoted works - I bet you've got an email just now.

    Your contact form doesn't work because you have

    Code:
    name="recipient"
    instead of:

    Code:
    name="recipients"
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  7. #7
    Join Date
    Nov 2004
    Posts
    25

    Default Re: Not getting emails...

    ok well you were right about the recipients...http://www.prj7.com/fibersensysproto/reg3.html works now. However now that there isnt an error I get no emails. One of the email addresses I have is my companies and the other is an aol on seems like one would get the email but neither do. This is the code in the formmail.php...


    $TARGET_EMAIL = array(EMAIL_NAME."@fibersensys\.com$",EMAIL_NAME."@aol\.com$");

    any more ideas on why im not getting the emails?

  8. #8
    Join Date
    Dec 2003
    Posts
    3,901

    Default Re: Not getting emails...

    Hi,

    The $TARGET_EMAIL setting you posted looks good.

    Have you tried setting the recipients to the same email address as DEF_ALERT (and make sure $TARGET_EMAIL allows it)?

    We know that your server can send email (because you've received alert messages).

    Maybe it will only send to certain email addresses.

    Also, on your form, enter your email address that's in DEF_ALERT. That will test whether the problem is the "From" address (Maybe it will only send from certain email addresses.)

    Does the sample form work? Did you get the email from my submission of it?
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

  9. #9
    Join Date
    Nov 2004
    Posts
    25

    Default Re: Not getting emails...

    yes i have set the same email as def_alert. I used the Aol one on it also. I got an address to yahoo to work. thanks for all the help so far. Could the possible reason for my corporate email not getting through be the fact that it has a .(period in it) xxx.xxx@fibersensys.com?

  10. #10
    Join Date
    Dec 2003
    Posts
    3,901

    Default Re: Not getting emails...

    Hi,

    I don't think the "." would make any difference to your server.

    Some people on Yahoo hosting have reported that the server will only send email if the "From" address is a valid Yahoo address.

    You can add "FromAddr=you@somewhere.com" to the "mail_options" field in your form and FormMail will always send the mail as being from that address.

    The same problem may be present on your server.
    Russell Robinson - Author of Tectite FormMail and FormMailDecoder
    http://www.tectite.com/

+ 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. Emails not received in template
    By Chek in forum FormMail Subscription Support
    Replies: 7
    Last Post: 15-Dec-2004, 04:20 PM
  2. sending me two emails
    By srolls in forum FormMail Subscription Support
    Replies: 2
    Last Post: 21-Sep-2004, 12:15 AM
  3. no emails being sent
    By dunn123 in forum FormMail Subscription Support
    Replies: 1
    Last Post: 13-Sep-2004, 01:19 PM
  4. only two emails every ten minutes?
    By vynsane in forum FormMail Subscription Support
    Replies: 4
    Last Post: 26-May-2004, 10:00 PM
  5. not receiving emails
    By ctpiper in forum FormMail Subscription Support
    Replies: 1
    Last Post: 22-Apr-2004, 10:29 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