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

Lost Password Email - default sender?

Discussion in 'General PHP and MySQL Discussions' started by abbychase, Aug 27, 2013.

  1. abbychase

    abbychase Active Member

  2. Jeremy

    Jeremy Well-Known Member

    abbychase likes this.
  3. twhiting9275

    twhiting9275 Active Member

    The best answer? Don't.
    Use smtp and setup the email properly
    Go into options -> email -> use smtp , and setup the account to use admin@mydomain.com with the appropriate site settings.

    Relying on php's mail() functionality (the way XF does this by default) is bad . It's disabled by any smart provider, and can result in your mail being flagged as spam.
     

Share This Page