Difference between revisions of "E-Mail settings"

From GeeklogWiki
Jump to: navigation, search
 
Line 1: Line 1:
 +
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 <code>mail()</code> function.
 +
;Within <code>$_CONF['mail_settings']</code> you have the following options:
 +
 +
{| border=1 cellspacing=0
 +
!Variable
 +
!Default Value
 +
!Description
 +
|-
 +
|backend
 +
|mail
 +
|Used to select how to send email. Can be one of 'smtp', 'sendmail', or 'mail'.
 +
|-
 +
|sendmail_path
 +
|<tt>/usr/bin/sendmail</tt>
 +
|If you chose 'sendmail' for the backend setting, this specifies the complete path to the sendmail binary.
 +
|-
 +
|sendmail_args
 +
|<tt>''</tt> <i>(empty)</i>
 +
| 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 <code>true</code> if your SMTP server requires authorization, and <code>false</code> 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.
 +
|}
 
;[[The_Geeklog_Configuration_File|Back to The Geeklog Configuration File]]
 
;[[The_Geeklog_Configuration_File|Back to The Geeklog Configuration File]]

Revision as of 08:18, 7 July 2004

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 mail 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.
Back to The Geeklog Configuration File