User Regristration - No E-Mail to set password

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
econsor_ag
Posts: 31
Joined: 18 Jun 2019, 08:35

User Regristration - No E-Mail to set password

Post by econsor_ag »

MantisBT-Version 2.19.0

Newly registered users do not get a e-mail to set their password. The options "send_reset_password" and "enable_email_notification" are enabled.
Can someone help me?
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: User Regristration - No E-Mail to set password

Post by cas »

Did you configure your email system as described in the manual and is that working?
econsor_ag
Posts: 31
Joined: 18 Jun 2019, 08:35

Re: User Regristration - No E-Mail to set password

Post by econsor_ag »

cas wrote: 30 Sep 2019, 11:49 Did you configure your email system as described in the manual and is that working?
Yes I did and its working correctly.
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: User Regristration - No E-Mail to set password

Post by cas »

Did you perhaps made a change to this setting:
$g_send_reset_password = ON;
How are you sending emails, uaing a cron-job? Is that job running?
You can check also the mantis-email table.
econsor_ag
Posts: 31
Joined: 18 Jun 2019, 08:35

Re: User Regristration - No E-Mail to set password

Post by econsor_ag »

cas wrote: 30 Sep 2019, 13:39 Did you perhaps made a change to this setting:
$g_send_reset_password = ON;
How are you sending emails, uaing a cron-job? Is that job running?
You can check also the mantis-email table.
No I did not touch the setting, I also checked the setting is on ON.
I am sending mails through tracker itself and through cronjobs. Nothing shows up when I look up the mantis-email table.
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: User Regristration - No E-Mail to set password

Post by cas »

is your mantis_email_table empty?
If not, something is not running.
econsor_ag
Posts: 31
Joined: 18 Jun 2019, 08:35

Re: User Regristration - No E-Mail to set password

Post by econsor_ag »

I found the mails in the mantis_email_table, but I dont know why they weren't sent...
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: User Regristration - No E-Mail to set password

Post by cas »

You need to trigger a job to start the sending, on lLinux a so called cron job, on windows a task.
econsor_ag
Posts: 31
Joined: 18 Jun 2019, 08:35

Re: User Regristration - No E-Mail to set password

Post by econsor_ag »

does Mantis not trigger it itself?
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: User Regristration - No E-Mail to set password

Post by cas »

no it does not. this is described in the manual too!
econsor_ag
Posts: 31
Joined: 18 Jun 2019, 08:35

Re: User Regristration - No E-Mail to set password

Post by econsor_ag »

I have $g_email_send_using_cronjob turned off. Should it not usually immediately send the mail out on action?
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: User Regristration - No E-Mail to set password

Post by cas »

Yes it should provided the mail function is setup as required.
Please use the following topic as guideline:
viewtopic.php?f=3&t=15398
econsor_ag
Posts: 31
Joined: 18 Jun 2019, 08:35

Re: User Regristration - No E-Mail to set password

Post by econsor_ag »

The mail function is setup correctly, when I go into the mail queue I can manually send the mail without error.

I remember before updating mantis that the mails were sent out directly without cronjob, did that change since the newer versions?
Do I have to create a cronjob to send emails out?
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: User Regristration - No E-Mail to set password

Post by cas »

No, it is not mandatory to use a cronjob.
What do you mean "if I go into thequeue i can manually send"?
You wnet to the admin panel ( admin directory) and tried to send an email?
econsor_ag
Posts: 31
Joined: 18 Jun 2019, 08:35

Re: User Regristration - No E-Mail to set password

Post by econsor_ag »

I went into /admin/email_queue.php and clicked on [send or delete]. When the recipient is for example me, then the email arrives without problem.
Post Reply