User Tools

  • Logged in as: anonymous (anonymous)
  • Log Out

Site Tools


mantisbt:instantmantis_faq

Instant Mantis FAQ

Sending Emails not working

I receive the following error message,

PROBLEMS SENDING MAIL TO: someone@domain.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 out-of-date

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.

mantisbt/instantmantis_faq.txt · Last modified: 2011/11/16 07:29 by atrol

Driven by DokuWiki