Email Configuration Issue

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
jazz2k8
Posts: 2
Joined: 31 Mar 2009, 13:42

Email Configuration Issue

Post by jazz2k8 »

Hi All,

i am a newbie to this forum..

i am using mantisbt 1.1.6 version.

It is working perfect except the email settings.

it is nopt sending email even i configured in config_defaults_inc.php

$g_smtp_host = 'smtp.gmail.com';

can you please guide me..

thanks
Kirill
Posts: 640
Joined: 25 Nov 2007, 08:05
Location: Kaliningrad, RF
Contact:

Re: Email Configuration Issue

Post by Kirill »

Whis this parametrs work very well

Code: Select all

	$g_phpMailer_method		= PHPMAILER_METHOD_SMTP;

	/**
	 * This option allows you to use a remote SMTP host.  Must use the phpMailer script
	 * One or more hosts, separated by a semicolon, can be listed.
	 * You can also specify a different port for each host by using this
	 * format: [hostname:port] (e.g. "smtp1.example.com:25;smtp2.example.com").
	 * Hosts will be tried in order.
	 * @global string $g_smtp_host
	 */	
	$g_smtp_host			= 'smtp.gmail.com';

	/**
	 * These options allow you to use SMTP Authentication when you use a remote
	 * SMTP host with phpMailer.  If smtp_username is not '' then the username
	 * and password will be used when logging in to the SMTP server.
	 * @global string $g_smtp_username
	 */	
	$g_smtp_username = 'username_with_@gmail.com';

	/**
	 * SMTP Server Authentication password
	 * @global string $g_smtp_password
	 */	
	$g_smtp_password = 'password_for up_accaunt';
	
	/**
	 * This control the connection mode to SMTP server. Can be 'ssl' or 'tls' 
	 * @global string $g_smtp_connection_mode
	 */	
	$g_smtp_connection_mode = 'tls';

	/**
	 * The smtp port to use.  The typical SMTP ports are 25 and 587.  The port to use
	 * will depend on the SMTP server configuration and hence others may be used.
	 * @global int $g_smtp_port
	 */	
	$g_smtp_port = 25;

	/**
	 * 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 int $g_email_send_using_cronjob
	 */	
	$g_email_send_using_cronjob = OFF;
kooldude_33
Posts: 2
Joined: 15 Apr 2009, 11:02

Re: Email Configuration Issue

Post by kooldude_33 »

But i think the port number for g mail is '465' and not '25'. Correct me if I'm wrong.
Post Reply