ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Email Config

September 08, 2011 2:34pm

Subscribe [3]
  • #1 / Sep 08, 2011 2:34pm

    vdcent

    12 posts

    I have tried every email configuration setting imaginable to set up email receipt from website forms… to NO AVAIL. Nothing seems to work so that email messages sent from the site forms are received.

    We’ve tested the SMTP settings and they seem to work to send/receive emails, but the website request forms are not receiving the messages/requests.

    What am I missing? Any help/info would be greatly appreciated.

    Thank you,

    Valerie DiCarlo

  • #2 / Sep 08, 2011 3:01pm

    LMO

    203 posts

    vdcent,

    what host are you using?

  • #3 / Sep 08, 2011 3:04pm

    vdcent

    12 posts

    Infoquest virtual server… but the emails are going thru a different mail server. We have that mail server SMTP info in the EE email configuration

  • #4 / Sep 09, 2011 12:36am

    Dan Decker

    7338 posts

    Valerie,

    I’m sorry this isn’t working for you. Have you tried any of the other Email Protocol settings? I generally use PHP Mail and have never had any issues. Can you try that setting and run your tests again?

    Cheers,

  • #5 / Sep 09, 2011 9:36am

    vdcent

    12 posts

    Dan,
    I tried EVERY setting option in the Email Configuration and the website form requests/messages do not relay to the recipient. I really need to get this fixed ASAP… the client is losing the leads that come in from the site.

    Is there an EE tech support supervisor that can contact me direct?

    Thank you,

    Valerie DiCarlo

  • #6 / Sep 09, 2011 10:04am

    vdcent

    12 posts

    One other thing I just thought to ask…. what about the SMTP authentication on the relay email account for the website forms?? If we add/remove the SMTP authentication, will it affect how EE handles the website forms??

    Someone, please answer ASAP.

    Thanks,

    Valerie DiCarlo

  • #7 / Sep 09, 2011 10:55am

    Dan Decker

    7338 posts

    Valerie,

    Your recent posts have provided further information regarding your issue. When you mention website forms, what specifically are the forms you are referring to? While you get back to me with that answer, we have a utility in place that will allow for a simple email test. Look in /system/expressionengine/utilities and find email_test.php Move this file to the root of your webserver and then access it, for example, at http://mysite.com/email_test.php - replacing mysite.com with your domain name. Are you able to send email with that test?

    Cheers,

  • #8 / Sep 09, 2011 11:40am

    vdcent

    12 posts

    I will try what you suggest…
    to answer your question, I am referring to website forms. When a user fills out a form to request info or contact us forms. (see http://www.amerisafe-css.com - which is the site in question) When the submit button is pressed, the site inquiry is relayed to an email address that is set up within code and the EE email configuration.

    Currently, when the forms are tested, the emails are not getting to the client.
    Please answer: what about the SMTP authentication on the email account for the website forms?? If we add/remove the SMTP authentication, will it affect how EE handles the website forms??

    Does that clarify?

    Thank you.

    Valerie DiCarlo

  • #9 / Sep 09, 2011 9:25pm

    Dan Decker

    7338 posts

    Valerie,

    I would say that removing SMTP on the separate server would simplify things for EE. Have you had an opportunity to run the email_test.php utility? If you navigate to Admin-> Email Configuration and select “Yes” for “Enable Email Debugging?”, submitting your contact form should then show any errors that are arising as a result. That would offer us a few more clues.

    Cheers,

  • #10 / Sep 10, 2011 9:07am

    vdcent

    12 posts

    Dan,
    >>I would say that removing SMTP on the separate server would simplify things for EE.
    Please clarify. WHat does this mean? Does EE work better WITHOUT the SMTP authentication?

    Here are the errors I am receiving. Please advise:

    A PHP Error was encountered
    Severity: Warning

    Message: fsockopen() [function.fsockopen]: unable to connect to 209.49.122.131:25 (A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond. )

    Filename: libraries/Email.php

    Line Number: 1670

    A PHP Error was encountered
    Severity: Warning

    Message: fwrite(): supplied argument is not a valid stream resource

    Filename: libraries/Email.php

    Line Number: 1813

    A PHP Error was encountered
    Severity: Warning

    Message: fgets(): supplied argument is not a valid stream resource

    Filename: libraries/Email.php

    Line Number: 1836

    A PHP Error was encountered
    Severity: Warning

    Message: fwrite(): supplied argument is not a valid stream resource

    Filename: libraries/Email.php

    Line Number: 1813

    A PHP Error was encountered
    Severity: Warning

    Message: fgets(): supplied argument is not a valid stream resource

    Filename: libraries/Email.php

    Line Number: 1836

    A PHP Error was encountered
    Severity: Warning

    Message: fwrite(): supplied argument is not a valid stream resource

    Filename: libraries/Email.php

    Line Number: 1813

    A PHP Error was encountered
    Severity: Warning

    Message: fgets(): supplied argument is not a valid stream resource

    Filename: libraries/Email.php

    Line Number: 1836

    A PHP Error was encountered
    Severity: Warning

    Message: fwrite(): supplied argument is not a valid stream resource

    Filename: libraries/Email.php

    Line Number: 1813

    A PHP Error was encountered
    Severity: Warning

    Message: fgets(): supplied argument is not a valid stream resource

    Filename: libraries/Email.php

    Line Number: 1836

    A PHP Error was encountered
    Severity: Warning

    Message: fwrite(): supplied argument is not a valid stream resource

    Filename: libraries/Email.php

    Line Number: 1813

    A PHP Error was encountered
    Severity: Warning

    Message: fwrite(): supplied argument is not a valid stream resource

    Filename: libraries/Email.php

    Line Number: 1813

    A PHP Error was encountered
    Severity: Warning

    Message: fgets(): supplied argument is not a valid stream resource

    Filename: libraries/Email.php

    Line Number: 1836

    Thank You!
    Your email message has been sent.

    Click here if you are not redirected automatically

  • #11 / Sep 10, 2011 11:02am

    Dan Decker

    7338 posts

    Valerie,

    The best path forward here is for us to go in and have a look. Be watching for an email from me.

    Cheers,

  • #12 / Sep 12, 2011 6:00pm

    Dan Decker

    7338 posts

    Valerie,

    The solution I applied is as follows:
    The first thing I noticed was the contact-form was missing a required field. The “to” field is required, even if it is a hidden input. I added a hidden input for “to” just below the opening {exp✉️contact_form} tag.
    Second, I set Admin-> Email Configuration-> Email Protocol to “PHP Mail” Did you receive the test emails I sent using the contact form?

    Is there anything else we can assist you with?

    Cheers,

  • #13 / Sep 12, 2011 6:08pm

    vdcent

    12 posts

    Thanks Dan,

    I sent the client a message to confirm the test emails. When I hear back, I’ll let you know.

    What about the request a quote form and the smaller request forms on each page? Are those fixed as well?

    Many thanks,

    Valerie

  • #14 / Sep 12, 2011 6:23pm

    Dan Decker

    7338 posts

    Valerie,

    I’m sorry, I only made the edits to the contact-form, however you can paste this in just below {exp✉️contact_form}

    <input type='hidden' name='to' value='[email protected]' />

    Substituting .(JavaScript must be enabled to view this email address) with the correct email address to send the contact form to.

    Cheers,

  • #15 / Sep 12, 2011 6:43pm

    vdcent

    12 posts

    Dan,

    I made the changes you suggested in each form on the site… but so far, the test emails from the site forms are still not going thru. <sigh>

    Any other suggestions? This client has been incredibly patient so far, but not sure how long that will last…
    <:(

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases