4

I have a basic zoo visitor forgot password form and the email's aren't being sent out.

        {exp:zoo_visitor:forgot_password error_handling="inline"}
        {if password_sent}
            <h3>A password reset email has been sent to the provided email.</h3>
        {if:else}
            <fieldset>
            <p>
                <label for="email" class="form-label">Your email:</label>
                <input type="text" name="email" id="email" class="form-text" value="" />
                <input type="submit" value="Retrieve password" class="button" />
            </p>
            {error:email}
            </fieldset>
        {/if}
    {/exp:zoo_visitor:forgot_password}

Emails are being sent from the member registration form so i've ruled out server issues. Any ideas?

3

It's possible that all the emails are getting blocked by the ISP spam. Emails sent with PHP are very unreliable in the long run, and why services like SendGrid and Mandrill are so useful. One recommendation would be to try to send your emails using a proper service. SendGrid and Mandrill both have free accounts, and you get like 12,000 emails a month (so it's free for most of our clients).

I helped Christopher track the issues down before, but I can't 100% remember what he concluded. Postmaster is always a viable option to sending forgot password forms with SendGrid or Mandrill, but it's possible to use SMTP and do it without Postmaster.

| improve this answer | |
  • Yea, it seems like emails are a huge black box. Especially with this site because the client has an IT team so we passed over an IP address for them to use as an A record. We had some success with emails with a plain old PHP mail() script, but it only worked sometimes with certain email addresses. I will give SendGrid and Mandrill a try. Thanks for the suggestion! – Dan Dec 11 '12 at 23:29
  • 1
    You can also test the default email sending functionality here: Tools > Communicate. If that works consistently, you'll know it's an issue with Zoo Visitor. – Anna_MediaGirl Dec 12 '12 at 4:34
0

Have you tried it without your conditional statement?

| improve this answer | |
  • Just reloads the page and emails still don't send. – Dan Dec 11 '12 at 21:39
  • seems Christopher had the same issue back in Sept devot-ee.com/add-ons/support/zoo-visitor/viewthread/7112#23995 – Steven Grant Dec 11 '12 at 21:44
  • yep, I saw that too. They don't resolve the issue in the thread, unfortunately. – Dan Dec 11 '12 at 21:46
  • Steven, if you have a question or need more information, please post that as a comment on the original question, rather than posting it as a new answer. – Tom Davies Dec 12 '12 at 13:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.