Mantis und externer Mailserver

Deutschsprachiges Forum für Diskussionen und Fragen zu MantisBT

Moderators: Developer, Contributor

Post Reply
Gerald
Posts: 9
Joined: 22 Feb 2011, 18:06

Mantis und externer Mailserver

Post 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?
Signaturtexte muss man erstmal schreiben...
atrol
Site Admin
Posts: 8534
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Mantis und externer Mailserver

Post by atrol »

Please use Search before posting and read the Manual
Gerald
Posts: 9
Joined: 22 Feb 2011, 18:06

Re: Mantis und externer Mailserver

Post 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.
Signaturtexte muss man erstmal schreiben...
Gerald
Posts: 9
Joined: 22 Feb 2011, 18:06

Re: Mantis und externer Mailserver

Post 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;
Signaturtexte muss man erstmal schreiben...
atrol
Site Admin
Posts: 8534
Joined: 26 Mar 2008, 21:37
Location: Germany

Re: Mantis und externer Mailserver

Post 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
Please use Search before posting and read the Manual
Post Reply