I receive the following error message,
PROBLEMS SENDING MAIL TO: email@example.com Mailer Error: Could not instantiate mail function.
Instant Mantis is unable to locate an SMTP server to send email. If you have access to an external SMTP server you can add the following lines to the config_inc.php file located in the folder instant_mantis_root\mantis\mantis-1.0.1.
# select the method to mail by: # 0 - mail() # 1 - sendmail # 2 - SMTP $g_phpMailer_method = 2; # This option allows you to use a remote SMTP host. Must use the phpMailer script # Name of smtp host, needed for phpMailer, taken from php.ini $g_smtp_host = 'smtp.domain.com';
Replace smtp.domain.com with the name of your SMTP host (same as your email program). If you do not have access to an SMTP server disable email notifications by adding the following lines to the config_inc.php file
# allow email notification # note that if this is disabled, sign-up and password reset messages will # not be sent. $g_enable_email_notification = OFF;
Instant Mantis is not kept up to date by it's author, however, we will write a separate article that will describe how to upgrade Instant Mantis to the latest version.