Mails not going to external domains (eg. Gmail)

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
vnagarajan
Posts: 1
Joined: 29 Jul 2019, 07:09

Mails not going to external domains (eg. Gmail)

Post by vnagarajan »

Hi,

We are running php v7.3.7 and Mantis 2.21.1. Please find below the config_inc.php:
*****************************************************************************************************************************************************
<?php
$g_hostname = 'localhost';
$g_db_type = 'mysqli';
$g_database_name = 'bugtracker';
$g_db_username = 'root';
$g_db_password = 'xxxxxxx';

$g_db_table_plugin_prefix = 'mantis';
$g_db_table_suffix = 'mantis';

$g_default_timezone = 'Asia/Dubai';

$g_crypto_master_salt = 'xxxxxxxxxxxxx';



# --- Anonymous Access / Signup ---

$g_allow_signup = ON;

$g_allow_anonymous_login = OFF;

$g_anonymous_account = '';


# --- Email Configuration ---

$g_phpMailer_method = PHPMAILER_METHOD_SMTP;
# or PHPMAILER_METHOD_SMTP, PHPMAILER_METHOD_SENDMAIL, PHPMAILER_METHOD_MAIL

$g_smtp_host = 'company SMTP Server';
# used with PHPMAILER_METHOD_SMTP

$g_smtp_username = '';
# used with PHPMAILER_METHOD_SMTP

$g_smtp_password = '';
# used with PHPMAILER_METHOD_SMTP

$g_webmaster_email = 'email@email.ae';

$g_from_email = 'mantis@email.ae';
# the "From: " field in emails

$g_return_path_email = 'mantis@email.ae';
# the return address for bounced mail

# $g_from_name = 'Mantis Bug Tracker';

# $g_email_receive_own = OFF;

# $g_email_send_using_cronjob = OFF;


# --- Attachments / File Uploads ---

# $g_allow_file_upload = ON;

# $g_file_upload_method = DATABASE;
# or DISK

# $g_absolute_path_default_upload_folder = '';
# used with DISK, must contain trailing \ or /.

# $g_max_file_size = 5000000;
# in bytes

# $g_preview_attachments_inline_max_size = 256 * 1024;

# $g_allowed_files = '';
# extensions comma separated, e.g. 'php,html,java,exe,pl'

# $g_disallowed_files = '';
# extensions comma separated


# --- Branding ---

$g_window_title = 'mantis';

$g_logo_image = 'images/logo.png';

# $g_favicon_image = 'images/favicon.ico';


# --- Real names ---

# $g_show_realname = OFF;

# $g_show_user_realname_threshold = NOBODY;
# Set to access level (e.g. VIEWER, REPORTER, DEVELOPER, MANAGER, etc)


# --- Others ---

# $g_default_home_page = 'my_view_page.php';
# Set to name of page to go to after login

*****************************************************************************************************************************************************

We are trying to create new users with external email addresses and their registration mail is getting blocked in the email queue. All future emails also end up getting blocked due to this. We have created a mailbox also for mantis@email.ae.
cas
Posts: 1586
Joined: 11 Mar 2006, 16:08
Contact:

Re: Mails not going to external domains (eg. Gmail)

Post by cas »

Did you check the suggestions in this topic:
viewtopic.php?f=3&t=15398
Post Reply