Difference between revisions of "E-Mail settings"
From GeeklogWiki
m (Example: Using GMail) |
|||
| Line 41: | Line 41: | ||
|If you chose 'smtp' for the backend setting, this is the password for your SMTP account. | |If you chose 'smtp' for the backend setting, this is the password for your SMTP account. | ||
|} | |} | ||
| − | ;[[The_Geeklog_Configuration_File|Back to The Geeklog Configuration File]] | + | ; |
| + | |||
| + | Example: [[Mail Setup for GMail]] | ||
| + | |||
| + | [[The_Geeklog_Configuration_File|Back to The Geeklog Configuration File]] | ||
Latest revision as of 20:44, 1 January 2008
Starting with Geeklog 1.3.9, Geeklog uses the PEAR::Mail class to send all
emails. You can then select whether emails should be sent through SMTP,
sendmail, or PHP's mail() function.
- Within
$_CONF['mail_settings']you have the following options
| Variable | Default Value | Description |
|---|---|---|
| backend | Used to select how to send email. Can be one of 'smtp', 'sendmail', or 'mail'. | |
| sendmail_path | /usr/bin/sendmail | If you chose 'sendmail' for the backend setting, this specifies the complete path to the sendmail binary. |
| sendmail_args | (empty) | If you chose 'sendmail' for the backend setting, this variable can be used to pass additional parameters to the sendmail binary. |
| host | smtp.example.com | If you chose 'smtp' for the backend setting, this is the SMTP server to use. |
| port | 25 | If you chose 'smtp' for the backend setting, this is the port number to talk to on the SMTP server. |
| auth | false | If you chose 'smtp' for the backend setting, set this to true if your SMTP server requires authorization, and false if it doesn't.
|
| username | smtp-username | If you chose 'smtp' for the backend setting, this is the name of your SMTP account. |
| password | smtp-password | If you chose 'smtp' for the backend setting, this is the password for your SMTP account. |
Example: Mail Setup for GMail