1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

XF 1.2 Sending Emails

Discussion in 'Troubleshooting and Problems' started by Mark Harris, Aug 5, 2013.

  1. Mark Harris

    Mark Harris New Member

    Hi there!

    To start, I know the system can send emails because the registration emails are working.

    On my admin account I have everything turned on that I will receive emails when I'm tagged etc. I don't.

    When I try the email all users thing and then send a test email, nothing arrives (unless there is a delay)

    Just not really sure if I have missed a setting?

    Thanks!
     
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    Have you checked your spam folder?
     
  3. Mark Harris

    Mark Harris New Member

  4. Jeremy

    Jeremy XenForo Moderator Staff Member

    Are there any errors in your Server Error Log?
     
  5. Mark Harris

    Mark Harris New Member

    No errors logged.
     
  6. Mark Harris

    Mark Harris New Member

    From admin log :

    Code:
    array(9) {
      ["test"] => string(15) "Send Test Email"
      ["criteria"] => string(117) "{"receive_admin_email":"1","user_group_id":"2","no_secondary_group_ids":"1","user_state":["valid"],"is_banned":["0"]}"
      ["total"] => string(1) "3"
      ["from_name"] => string(16) "Clear Cut Gaming"
      ["from_email"] => string(27) "mark@******.co.uk"
      ["email_title"] => string(10) "Test Email"
      ["email_format"] => string(4) "text"
      ["email_body"] => string(14) "This is a test"
      ["_xfConfirm"] => string(1) "1"
    }
     
  7. Jeremy

    Jeremy XenForo Moderator Staff Member

    Try sending it and leaving the secondary groups setting alone.
     
  8. Mark Harris

    Mark Harris New Member

    Well, I changed my email address from my proper domain to gmail and I'm getting mails.

    How very odd, never had a problem before, unless it's something to do with the boards from address?
     
  9. Mark Harris

    Mark Harris New Member

    Have to wonder if I'll suddenly get a huge batch of mails at some point!
     
  10. Mark Harris

    Mark Harris New Member

    I just tried creating a new account with another email address from the same domain. For clarity xenforo is on abc.co.uk and the domain I am trying to receive mail on is xyz.co. uk.

    Still nothing.
     
  11. Mark Harris

    Mark Harris New Member

    Get them from this site though!
     
  12. The Forum Heroes

    The Forum Heroes Well-Known Member

    Try using SMTP in mail setting options. Some hosts block PHP send mail to try to prevent SPAM.
     
  13. Mark Harris

    Mark Harris New Member

    Does the mail server need to be on the same machine or belong to the same domain? Or can it be any site as long as I have credentials?

    That said I don't normally have problems with forum registration or indeed xenforo. Com for example
     
  14. The Forum Heroes

    The Forum Heroes Well-Known Member

    Yes you can use any SMTP server, just as log as you have the credentials to auth.
     
  15. Mark Harris

    Mark Harris New Member

    Tried this, with localhost and it still sends to gmail but not my proper work domain.

    From the logs I can see It has something to do with requiring a FQDN or it gets rejected.

    Any ideas?
     
  16. Mark Harris

    Mark Harris New Member

    Fixed it.

    Needed to set the FQDN in IIS STMP settings.
     

Share This Page