Answers.Body: <p>If you're using <code>phpmail</code> or <code>sendmail</code> under Settings->Email in the control panel, they are notoriously unreliable at delivering emails consistently.</p>
  
  <p>Try using a proper SMTP relay or a transactional email provider like <a href="https://mandrill.com/" rel="nofollow">Mandrill</a>.</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-11-05T16:14:29.073Z
Answers.Text: Recently I discovered mailjet. 6000 mails per moth for free.
Answers.UserDisplayName: Martijn La Feber
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2015-02-26T16:35:09.710Z
Answers.LastActivityDate: 2015-02-26T16:35:09.710Z
Answers.UserDisplayName: Brad Bell
Body: <p>I'm using the following form, and occasionally through testing the e-mail activation link will send, however the majority of time it never gets sent. Did I do something wrong with the form?</p>
  
  <pre><code>&lt;form method="post" accept-charset="UTF-8"&gt;
          {{ getCsrfInput() }}
          &lt;input type="hidden" name="action" value="users/saveUser"&gt;
          &lt;input type="hidden" name="redirect" value="/success/"&gt;
  
          {% macro errorList(errors) %}
              {% if errors %}
                  &lt;ul class="errors"&gt;
                      {% for error in errors %}
                          &lt;li&gt;{{ error }}&lt;/li&gt;
                      {% endfor %}
                  &lt;/ul&gt;
              {% endif %}
          {% endmacro %}
  
          {% from _self import errorList %}
  
          &lt;h3&gt;&lt;label for="username"&gt;Username&lt;/label&gt;&lt;/h3&gt;
          &lt;input id="username" type="text" name="username"
              {%- if account is defined %} value="{{ account.username }}"{% endif -%}&gt;
  
          {% if account is defined %}
              {{ errorList(account.getErrors('username')) }}
          {% endif %}
  
          &lt;h3&gt;&lt;label for="email"&gt;Email&lt;/label&gt;&lt;/h3&gt;
          &lt;input id="email" type="text" name="email"
              {%- if account is defined %} value="{{ account.email }}"{% endif %}&gt;
  
          {% if account is defined %}
              {{ errorList(account.getErrors('email')) }}
          {% endif %}
  
          &lt;h3&gt;&lt;label for="password"&gt;Password&lt;/label&gt;&lt;/h3&gt;
          &lt;input id="password" type="password" name="password"&gt;
  
          {% if account is defined %}
              {{ errorList(account.getErrors('password')) }}
          {% endif %}
  
          &lt;input type="submit" value="Register"&gt;
      &lt;/form&gt;
  </code></pre>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2015-02-26T09:04:53.537Z
Comments.Text: The form looks fine. If you turn on debug mode and look at your craft.log you should be able to see if craft attempted to send an email or not, or if there was an error. Might also check that they're not getting spam filtered. The `'testToEmailAddress'` in your config file is also useful.
Comments.UserDisplayName: Douglas McDonald
Tags: <users><form><emails><post>
Title: Registration email link not being sent
ThreadText: # Registration email link not being sent
  
  (Asked by: username_0 on 2015-02-26)
  
  I'm using the following form, and occasionally through testing the e-mail activation link will send, however the majority of time it never gets sent. Did I do something wrong with the form?
  
  ```
  <form method="post" accept-charset="UTF-8">
          {{ getCsrfInput() }}
          <input type="hidden" name="action" value="users/saveUser">
          <input type="hidden" name="redirect" value="/success/">
  
          {% macro errorList(errors) %}
              {% if errors %}
                  <ul class="errors">
                      {% for error in errors %}
                          <li>{{ error }}</li>
                      {% endfor %}
                  </ul>
              {% endif %}
          {% endmacro %}
  
          {% from _self import errorList %}
  
          <h3><label for="username">Username</label></h3>
          <input id="username" type="text" name="username"
              {%- if account is defined %} value="{{ account.username }}"{% endif -%}>
  
          {% if account is defined %}
              {{ errorList(account.getErrors('username')) }}
          {% endif %}
  
          <h3><label for="email">Email</label></h3>
          <input id="email" type="text" name="email"
              {%- if account is defined %} value="{{ account.email }}"{% endif %}>
  
          {% if account is defined %}
              {{ errorList(account.getErrors('email')) }}
          {% endif %}
  
          <h3><label for="password">Password</label></h3>
          <input id="password" type="password" name="password">
  
          {% if account is defined %}
              {{ errorList(account.getErrors('password')) }}
          {% endif %}
  
          <input type="submit" value="Register">
      </form>
  
  ```
  
  **Tags:** users, form, emails, post
  
  > **Comments:**
  > **username_1**: The form looks fine. If you turn on debug mode and look at your craft.log you should be able to see if craft attempted to send an email or not, or if there was an error. Might also check that they're not getting spam filtered. The `'testToEmailAddress'` in your config file is also useful.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_2 on 2015-02-26. Score: 2
  
  If you're using `phpmail` or `sendmail` under Settings->Email in the control panel, they are notoriously unreliable at delivering emails consistently.
  
  Try using a proper SMTP relay or a transactional email provider like [Mandrill](https://mandrill.com/).
  
  > **Comments:**
  > **username_3**: Recently I discovered mailjet. 6000 mails per moth for free.  
  
  ---
  
  