How to configure Mantis for sending Email

General discussion of Mantis.

Moderators: Developer, Contributor

Post Reply
mana_panigrahi
Posts: 1
Joined: 05 Jan 2010, 06:24

How to configure Mantis for sending Email

Post by mana_panigrahi »

Hi ALl,
I am new to mantis.I have installed Mantis then I tried to configure for email.
I donot know which are the files needs to be changed and what are the values.Kindly guide me for configuring Mantis for email notification.

Thanks in Advance.
Kirill
Posts: 640
Joined: 25 Nov 2007, 08:05
Location: Kaliningrad, RF
Contact:

Re: How to configure Mantis for sending Email

Post by Kirill »

I think you need write more info about your mail system. Or not?
kamrenroder
Posts: 1
Joined: 13 Jan 2010, 05:24

Re: How to configure Mantis for sending Email

Post by kamrenroder »

mana_panigrahi wrote:Hi ALl,
I am new to mantis.I have installed Mantis then I tried to configure for email.
I donot know which are the files needs to be changed and what are the values.Kindly guide me for configuring Mantis for email notification.

Thanks in Advance.
The requirements to configure for email-

* Improve performance by queuing emails and send them at a later time.
* Provide a script can be executed from a cronjob to send the queued emails.
* If email notifications fail, they should remain in the queue and must not be lost.
*Emails targetted to invalid addresses must not be kept in the queue. A message is considered to be sent successfully as soon as it is delivered to the email server configured in Mantis, if the email server failed to send the message, it will send the NDR back to the email address configured in ‘return_path_email’ configuration item.
* By default, the old behaviour for handling emails should be kept. Hence, users must configure queuing, otherwise all messages will be sent synchronously.
Configuring Queuing
Set ‘email_send_using_cronjob’ configuration item to ON.
Sending the Emails
Following is the command line we need to execute:
php /path/to/mantis/core/send_emails.php
ollowing are the settings that determine how often it the script should run. In this case it’s every minute:
Minute = *, Hour = *, Day = *, Month = *, Weekday = *
or hosted environments offering cPanel, the above information will be set after clicking “Cron jobs”, “Advanced (Unix Style)”. You will typically want to also provide your email as the address to which the cronjob output should be sent. This will help you to make sure that the script is running successfully. Once this is established, you should remove your email to avoid getting an email every minute.
The harder you fall, the higher you bounce.
Post Reply