Thank you in advance.
MantisBT 2.18.0
No customization
No plugins or custom functions
Windows server 2008
WAMP 3.0.6
Apache 2.4.23
MySQL 5.7.14
PHP 7.0.10
Error
[12-Nov-2018 23:38:39 UTC] 2018-11-12 23:38 UTC MAIL email_api.php:1353 email_send() ERROR: Message could not be sent - Invalid address: (addAnAddress to): 1
Config_inc.php
#-Email COnfigurations -
###########################
# MantisBT Email Settings #
###########################
/**
* Webmaster email address. This is shown publicly at the bottom of each page
* and thus may be susceptible to being detected by spam email harvesters.
* @global string $g_webmaster_email
*/
$g_webmaster_email = 's***-**
n@openmedpractice.com';
/**
* the sender email, part of 'From: ' header in emails
* @global string $g_from_email
*/
$g_from_email = 's***-**
n@openmedpractice.com';
/**
* the sender name, part of 'From: ' header in emails
* @global string $g_from_name
*/
$g_from_name = 'Mantis Bug Tracker';
/**
* the return address for bounced mail
* @global string $g_return_path_email
*/
$g_return_path_email = 's***-**
n@openmedpractice.com';
/**
* Allow email notification.
* Set to ON to enable email notifications, OFF to disable them. Note that
* disabling email notifications has no effect on emails generated as part
* of the user signup process. When set to OFF, the password reset feature
* is disabled. Additionally, notifications of administrators updating
* accounts are not sent to users.
* @global integer $g_enable_email_notification
*/
$g_enable_email_notification = ON;
/**
* When enabled, the email notifications will send the full issue with
* a hint about the change type at the top, rather than using dedicated
* notifications that are focused on what changed. This change can be
* overridden in the database per user.
*
* @global integer $g_email_notifications_verbose
*/
$g_email_notifications_verbose = OFF;
/**
* The following two config options allow you to control who should get email
* notifications on different actions/statuses. The first option
* (default_notify_flags) sets the default values for different user
* categories. The user categories are:
*
* 'reporter': the reporter of the bug
* 'handler': the handler of the bug
* 'monitor': users who are monitoring a bug
* 'bugnotes': users who have added a bugnote to the bug
* 'category': category owners
* 'explicit': users who are explicitly specified by the code based on the
* action (e.g. user added to monitor list).
* 'threshold_max': all users with access <= max
* 'threshold_min': ..and with access >= min
*
* The second config option (notify_flags) sets overrides for specific
* actions/statuses. If a user category is not listed for an action, the
* default from the config option above is used. The possible actions are:
*
* 'new': a new bug has been added
* 'owner': a bug has been assigned to a new owner
* 'reopened': a bug has been reopened
* 'deleted': a bug has been deleted
* 'updated': a bug has been updated
* 'bugnote': a bugnote has been added to a bug
* 'sponsor': sponsorship has changed on this bug
* 'relation': a relationship has changed on this bug
* 'monitor': an issue is monitored.
* '<status>': eg: 'resolved', 'closed', 'feedback', 'acknowledged', etc.
* this list corresponds to $g_status_enum_string
*
* If you wanted to have all developers get notified of new bugs you might add
* the following lines to your config file:
*
* $g_notify_flags['new']['threshold_min'] = DEVELOPER;
* $g_notify_flags['new']['threshold_max'] = DEVELOPER;
*
* You might want to do something similar so all managers are notified when a
* bug is closed. If you did not want reporters to be notified when a bug is
* closed (only when it is resolved) you would use:
*
* $g_notify_flags['closed']['reporter'] = OFF;
*
* @global array $g_default_notify_flags
*/
$g_default_notify_flags = array(
'reporter' => ON,
'handler' => ON,
'monitor' => ON,
'bugnotes' => ON,
'category' => ON,
'explicit' => ON,
'threshold_min' => NOBODY,
'threshold_max' => NOBODY
);
/**
* We don't need to send these notifications on new bugs
* (see above for info on this config option)
* @todo (though I'm not sure they need to be turned off anymore
* - there just won't be anyone in those categories)
* I guess it serves as an example and a placeholder for this
* config option
* @see $g_default_notify_flags
* @global array $g_notify_flags
*/
$g_notify_flags['new'] = array(
'bugnotes' => OFF,
'monitor' => OFF
);
$g_notify_flags['monitor'] = array(
'reporter' => OFF,
'handler' => OFF,
'monitor' => OFF,
'bugnotes' => OFF,
'explicit' => ON,
'threshold_min' => NOBODY,
'threshold_max' => NOBODY
);
/**
* Whether user's should receive emails for their own actions
* @global integer $g_email_receive_own
*/
$g_email_receive_own = OFF;
/**
* Email addresses validation
*
* Determines whether email addresses are validated.
* - When ON (default), validation is performed using the pattern given by the
* HTML5 specification for 'email' type form input elements
* {@link
http://www.w3.org/TR/html5/forms.html#v ... il-address}
* - When OFF, validation is disabled.
*
* NOTE: Regardless of how this option is set, validation is never performed
* when using LDAP email (i.e. when $g_use_ldap_email = ON), as we assume that
* it is handled by the directory.
* @see $g_use_ldap_email
*
* @global integer $g_validate_email
*/
$g_validate_email = OFF;
/**
* Enable support for logging in by email and password, in addition to
* username and password. This will only work as long as there is a single
* user with the specified email address and the email address is not blank.
*
* @global integer $g_email_login_enabled
*/
$g_email_login_enabled = OFF;
/**
* Ensure that email addresses are unique.
*
* @global integer $g_email_ensure_unique
*/
$g_email_ensure_unique = ON;
/**
* set to OFF to disable email check
* @global integer $g_check_mx_record
*/
$g_check_mx_record = OFF;
/**
* if ON, allow the user to omit an email field
* note if you allow users to create their own accounts, they
* must specify an email at that point, no matter what the value
* of this option is. Otherwise they would not get their passwords.
* @global integer $g_allow_blank_email
*/
$g_allow_blank_email = OFF;
/**
* Only allow and send email to addresses in the given domain(s)
* For example:
* $g_limit_email_domains = array( 'users.sourceforge.net', 'sourceforge.net' );
* @global array $g_limit_email_domains
*/
$g_limit_email_domains = array();
/**
* This specifies the access level that is needed to get the mailto: links.
* @global integer $g_show_user_email_threshold
*/
$g_show_user_email_threshold = NOBODY;
/**
* This specifies the access level that is needed to see realnames on user view
* page
* @see $g_show_realname
* @global integer $g_show_user_realname_threshold
*/
$g_show_user_realname_threshold = NOBODY;
/**
* select the method to mail by:
* PHPMAILER_METHOD_MAIL - mail()
* PHPMAILER_METHOD_SENDMAIL - sendmail
* PHPMAILER_METHOD_SMTP - SMTP
* @global integer $g_phpMailer_method
*/
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
/**
* Remote SMTP Host(s)
* Either a single hostname or multiple semicolon-delimited hostnames.
* You can specify for each host a port other than the default, using format:
* [hostname:port] (e.g. "smtp1.example.com:25;smtp2.example.com").
* Hosts will be tried in the given order.
* NOTE: This is only used with PHPMAILER_METHOD_SMTP.
* @see $g_smtp_port
* @global string $g_smtp_host
*/
$g_smtp_host = 'smtp-pulse.com';
/**
* SMTP Server Authentication user
* NOTE: must be set to '' if the SMTP host does not require authentication.
* @see $g_smtp_password
* @global string $g_smtp_username
*/
$g_smtp_username = 's***-**
n@openmedpractice.com';
$g_administrator_email = 's***-**
n@openmedpractice.com';
/**
* SMTP Server Authentication password
* Not used when $g_smtp_username = ''
* @see $g_smtp_username
* @global string $g_smtp_password
*/
$g_smtp_password = '***********A*********';
/**
* Allow secure connection to the SMTP server
* Valid values are '' (no encryption), 'ssl' or 'tls'
* @global string $g_smtp_connection_mode
*/
$g_smtp_connection_mode = 'tls';
/**
* Default SMTP port
* Typical ports are 25 and 587.
* This can be overridden individually for specific hosts.
* @see $g_smtp_host
* @global integer $g_smtp_port
*/
$g_smtp_port = 2525;
/**
* Enable DomainKeys Identified Mail (DKIM) Signatures (rfc6376)
* To successfully sign mails you need to enable DKIM and provide at least:
* - DKIM domain
* - DKIM private key or key file path
* - DKIM selector
* - DKIM identity
* @see $g_email_dkim_domain
* @see $g_email_dkim_private_key_file_path
* @see $g_email_dkim_private_key_string
* @see $g_email_dkim_selector
* @see $g_email_dkim_identity
* @global integer $g_email_dkim_enable
*/
$g_email_dkim_enable = OFF;
/**
* DomainKeys Identified Mail (DKIM) Signatures domain
* This is usually the same as the domain of your from email
* @see $g_from_email
* @see $g_email_dkim_enable
* @global string $g_email_dkim_domain
*/
$g_email_dkim_domain = 'openmedpractice.com';
/**
* DomainKeys Identified Mail (DKIM) Signatures private key path
* Path to the private key. If $g_email_dkim_private_key_string is specified
* this setting will not be used.
* @see $g_email_dkim_private_key_string
* @see $g_email_dkim_enable
* @global string $g_email_dkim_private_key_file_path
*/
$g_email_dkim_private_key_file_path = 'mantisbt-2.15.0/config/dkim_private_key.txt';
/**
* DomainKeys Identified Mail (DKIM) Signatures private key value
* This string should contain private key for signing. Leave empty
* string if you wish to load the key from the file defined with
* $g_email_dkim_private_key_file_path.
* @see $g_email_dkim_enable
* @see $g_email_dkim_private_key_file_path
* @global string $g_email_dkim_private_key_string
*/
$g_email_dkim_private_key_string = '';
/**
* DomainKeys Identified Mail (DKIM) Signatures selector
* DNS selector for the signature (rfc6376)
* DNS TXT field should have for instance:
* host mail.example._domainkey
* value v=DKIM1; t=s; n=core; k=rsa; p=[public key]
* @see $g_email_dkim_enable
* @global string $g_email_dkim_selector
*/
$g_email_dkim_selector = '1528920879.openmedpractice._domainkey';
/**
* DomainKeys Identified Mail (DKIM) Signatures private key password
* Leave empty string if your private key does not have password
* @see $g_email_dkim_enable
* @global string $g_email_dkim_passphrase
*/
$g_email_dkim_passphrase = '';
/**
* DomainKeys Identified Mail (DKIM) Signatures identity
* Identity you are signing the mails with (rfc6376)
* This is usually the same as your from email
* @see $g_from_email
* @see $g_email_dkim_enable
* @global string $g_email_dkim_identity
*/
$g_email_dkim_identity = '
noreply@openmedpractice.com';
/**
* It is recommended to use a cronjob or a scheduler task to send emails. The
* cronjob should typically run every 5 minutes. If no cronjob is used,then
* user will have to wait for emails to be sent after performing an action
* which triggers notifications. This slows user performance.
* @global integer $g_email_send_using_cronjob
*/
$g_email_send_using_cronjob = ON;
/**
* email separator and padding
* @global string $g_email_separator1
*/
$g_email_separator1 = str_pad('', 70, '=');
/**
* email separator and padding
* @global string $g_email_separator2
*/
$g_email_separator2 = str_pad('', 70, '-');
/**
* email separator and padding
* @global integer $g_email_padding_length
*/
$g_email_padding_length = 28;
/**
* Duration (in days) to retry failed emails before deleting them from queue.
* @global integer $g_email_retry_in_days
*/
$g_email_retry_in_days = 7;
$g_debug_email = ON;
$g_log_level = LOG_EMAIL;
//$g_log_destination = '';