Configuration: emails and SMTP
Un article de EpistemaWiki.
[modifier]
SMTP Configuration
Here are the configuration variables for the SMTP server, used for sending emails:
| $GLOBALS['conf']['SMTP Host'] = 'localhost' | The IP address/name of the SMTP server |
| $GLOBALS['conf']['SMTP Port'] = "25"; | The port (default is 25) |
| $GLOBALS['conf']['SMTP User'] = ""; | If you need authentificated SMTP, enter the user here |
| $GLOBALS['conf']['SMTP Pass'] = ""; | If you need authentificated SMTP, enter the password here |
| $GLOBALS['conf']['SMTP Timeout'] = "5"; | Timeout for the SMTP connection (default is 5) |
| $GLOBALS['conf']['EmailNotifications']['From'] = "you@yourcompany.com"; | The default fallback from address globally used in the application |
| $GLOBALS['conf']['JISEncode'] = "false"; | When true, mails sent using the Mailing Rule engine will be sent in Shift_JIS instead of the default UTF_8 |
| $GLOBALS['conf']['MailingHTMLTemplate'] = 'template.html'; | An HTML Template that should be present in data/mailing_template, which will be used to send HTML emails to trainees. |
