Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress

how to change mail() function ?

While iam using forget password ! at word press login it shows !!! The e-mail could not be sent. Possible reason: your host may have disabled the mail() function.

so where can i change mail() function ??

Thank you

1 Answer

You will need to speak with your hosting provider to see about having email turned on. Some will charge extra and will need you to authorize the additional cost. Others like wpengine do not offer email services so you would need to setup a separate email service.

so, we could not able to change and add our eMail id at word press files !! ?

Andrew McCormick
Andrew McCormick
17,730 Points

if your server does not have php mail() running, then you can instead use a third party mail service like SendGrid (my favorite). There are plenty of plugins that you can install to use SendGrid instead of the server's mail function.
http://highedwebtech.com/2012/02/15/sendgrid-transactional-email/

yes thank you andrew , can we use Send Grid for our local hosting !! also ?