PDA

View Full Version : mail settings?



Es_PagAn
05-22-2005, 04:16 PM
Hello,

I have installed OR 2.0. My question is, where do I specify the mail settings (mail server, user id and password) so that OR can send email to admin whenever a new agent signs up?
No matter how much I have looked for it I haven't found where in the code (or perhaps through the control panel) I set this up.
Anybody help?

:Edit

I just found out, that when the user reguests a password reset, an email IS sent to them, with instructions. I suppose that that means that at least something is working as it is supposed to.
But, when a new agent signs up, the admin does NOT receive email, so that he can activate the agent.

pbflash
05-22-2005, 04:50 PM
Do you have the notifications turned on and do you have the correct email address set in the site config?

Es_PagAn
05-22-2005, 07:16 PM
Do you have the notifications turned on and do you have the correct email address set in the site config?

Yep.
I even tried with my other email adresses, but no result from that either.

pbflash
05-22-2005, 07:30 PM
There is a bug in the code. Change line 215 of user_manager.inc.php to

if ($config['email_notification_of_new_users'] == 1)

I submitted a bug report.

mamboindo
05-24-2005, 07:20 AM
There is a bug in the code. Change line 215 of user_manager.inc.php to

if ($config['email_notification_of_new_users'] == 1)

I submitted a bug report.

I better say thnx to you. This also solved one of my problems. Tnx mate

Leo

pbflash
05-24-2005, 09:36 AM
This is fixed in the current svn already.

Es_PagAn
05-24-2005, 11:04 AM
Thanks, this solved the problem.

Another bug is though present (not that serious).

When the admin receives email about the new user, they also get this link to go directly to the user manager:

http://www.mysite.com/realty/admin/user_edit.php?edit=6

This is wrong, the page doesn't exist, instead the correct link is:

http://www.mysite.com/realty/admin/index.php?action=user_manager&edit=6

pbflash
05-24-2005, 12:51 PM
Did you post this in the bug report section?

Edit:
I didn't see it reported so I entered it.