User Regristration - No E-Mail to set password

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
econsor_ag
Posts: 16
Joined: Jun 18, 2019 3:35 am

User Regristration - No E-Mail to set password

Post by econsor_ag » Sep 30, 2019 4:49 am

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: 668
Joined: Mar 11, 2006 11:08 am
Contact:

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

Post by cas » Sep 30, 2019 6:49 am

Did you configure your email system as described in the manual and is that working?

econsor_ag
Posts: 16
Joined: Jun 18, 2019 3:35 am

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

Post by econsor_ag » Sep 30, 2019 7:45 am

cas wrote:
Sep 30, 2019 6:49 am
Did you configure your email system as described in the manual and is that working?
Yes I did and its working correctly.

cas
Posts: 668
Joined: Mar 11, 2006 11:08 am
Contact:

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

Post by cas » Sep 30, 2019 8:39 am

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: 16
Joined: Jun 18, 2019 3:35 am

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

Post by econsor_ag » Sep 30, 2019 8:57 am

cas wrote:
Sep 30, 2019 8:39 am
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: 668
Joined: Mar 11, 2006 11:08 am
Contact:

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

Post by cas » Sep 30, 2019 9:44 am

is your mantis_email_table empty?
If not, something is not running.

econsor_ag
Posts: 16
Joined: Jun 18, 2019 3:35 am

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

Post by econsor_ag » Sep 30, 2019 9:53 am

I found the mails in the mantis_email_table, but I dont know why they weren't sent...

cas
Posts: 668
Joined: Mar 11, 2006 11:08 am
Contact:

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

Post by cas » Oct 01, 2019 6:52 am

You need to trigger a job to start the sending, on lLinux a so called cron job, on windows a task.

econsor_ag
Posts: 16
Joined: Jun 18, 2019 3:35 am

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

Post by econsor_ag » Oct 02, 2019 6:16 am

does Mantis not trigger it itself?

cas
Posts: 668
Joined: Mar 11, 2006 11:08 am
Contact:

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

Post by cas » Oct 02, 2019 6:26 am

no it does not. this is described in the manual too!

econsor_ag
Posts: 16
Joined: Jun 18, 2019 3:35 am

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

Post by econsor_ag » Oct 07, 2019 2:47 am

I have $g_email_send_using_cronjob turned off. Should it not usually immediately send the mail out on action?

cas
Posts: 668
Joined: Mar 11, 2006 11:08 am
Contact:

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

Post by cas » Oct 07, 2019 6:00 am

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: 16
Joined: Jun 18, 2019 3:35 am

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

Post by econsor_ag » Oct 07, 2019 8:19 am

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: 668
Joined: Mar 11, 2006 11:08 am
Contact:

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

Post by cas » Oct 07, 2019 8:27 am

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: 16
Joined: Jun 18, 2019 3:35 am

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

Post by econsor_ag » Oct 07, 2019 9:24 am

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