Password recovery -- sent from anonymous@mywebserver.com
nivekiam
Joined: 2002-12-10
Posts: 16504 |
Posted: Thu, 2005-04-21 16:53 |
Why does the password recovery feature send from "anonymous@myserver.com"? I'd like to see the same functionality that's in G1 where we can enter in a "welcome" message that's sent to the user's for registration as well as which email address all email is sent from. Is this something that should be working but isn't, planned or needs a feature request? Thanks. ---- |
|
Posts: 2322
Yes, we (I) plan to add a 'from' address. It wasn't a requirement to get the base feature working.
Currently how it works is this:
If you use PHP's native mail support, it comes out using whatever address that PHP defaults to. (anonymous@...)
If you use Gallery's SMTP functionality, we use the smtpFrom address in the site configuration.
Posts: 16504
Thanks for the info signe. Being on a shared server, I'd prefer to not go the SMTP route as my config.php could be read by another user on the server. So they could then access the database then gain access to my account password.
I'll wait until you have added the from address feature. Will there also be the ability to create a custom message similar to what we can do in G1?
Posts: 2322
G1 has never allowed you to configure the recover password email, however G2 already does.
The password email is located in a smarty template, so all you need to do is make a 'local' directory in gallery2/modules/core/templates/ and copy RecoverPasswordEmail.tpl into it, then make your changes.