Page 1 of 1

Mantis und externer Mailserver

Posted: 25 Feb 2011, 12:48
by Gerald
Hallo,

ich möchte gerne die Mantismails mit einem externen Mailserver versenden. Wo oder wie finde ich hierzu die Einstellungen für einen SMTP Server?

Re: Mantis und externer Mailserver

Posted: 26 Feb 2011, 15:12
by atrol

Re: Mantis und externer Mailserver

Posted: 04 Mar 2011, 14:17
by Gerald
Hallo atrol,

ich denke du meinst den Ausschnitt von unten (SIEHE QUOTE). Nur wo kann ich das Einstellen? Trage ich das alles in die Config ein? Gibt es ein Beispiel?
$g_phpMailer_method

Select the method to mail by: PHPMAILER_METHOD_MAIL for use of mail() function, PHPMAILER_METHOD_SENDMAIL for sendmail (or postfix), PHPMAILER_METHOD_SMTP for SMTP. Default is PHPMAILER_METHOD_MAIL.
$g_smtp_host

This option specifies the SMTP server to submit messages to. The SMTP server (MTA) then takes on the responsibility of deliverying such messages to their final destinations. To use the local SMTP (if available) set this to 'localhost', otherwise use the fully qualified domain name of the remote SMTP server. Default value is 'localhost'.
$g_smtp_port

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. The default is 25.
$g_smtp_connection_mode

This option allows you to specify the connection mode to the SMTP server. Possible values are '', 'ssl', 'tls'. The default value is ''.
$g_smtp_username

This option allows the use of SMTP Authentication when using 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. Default is ''.
$g_smtp_password

This is the password that is used in SMTP Authentication . Default is ''.
$g_email_send_using_cronjob

TODO
$g_email_set_category

Specify whether e-mails should be sent with the category set or not. This is tested with Microsoft Outlook. More testing for this feature + other formats will be added in the future. OFF, EMAIL_CATEGORY_PROJECT_CATEGORY (format: [Project] Category). Default is OFF.

Re: Mantis und externer Mailserver

Posted: 04 Mar 2011, 16:04
by Gerald
Es passen einige Einstellungen schein bar nicht zumindest ist in der config_defaults_inc der Eintrag folgender:
/**
* select the method to mail by:
* PHPMAILER_METHOD_MAIL - mail()
* PHPMAILER_METHOD_SENDMAIL - sendmail
* PHPMAILER_METHOD_SMTP - SMTP
* @global int $g_phpMailer_method
*/
$g_phpMailer_method = PHPMAILER_METHOD_SMTP;

Re: Mantis und externer Mailserver

Posted: 05 Mar 2011, 13:21
by atrol
Die Anpassungen macht man in der config_inc.php
Hier ist ein Beispiel für gmail enthalten
http://www.mantisbt.org/forums/viewtopi ... =3&t=15398