Outbound Email
From Sit
| SiT! Manual | Configuration → Outbound Email | Appendix A2 |
Unlike Inbound Email SiT requires no special configuration to be able to send email messages. SiT uses the PHP mail function to send email, so your PHP must be configured to allow sending of email before this will work.
Contents |
Configuring PHP to Send Email
On GNU/Linux and *BSD platforms sending email from PHP usually works "out of the box" but Windows requires a little extra configuration:
You will need to edit your php.ini file and look for the section that begins [mail function]
Here's an example configuration:
[mail function]
; For Win32 only.
SMTP = myisp.example.net ; for Win32 only
smtp_port = 25
You should change myisp.example.net to your own corporate or ISP SMTP mail server.
See http://www.php.net/manual/en/mail.configuration.php for more help configuring PHP email settings.
Setting the default 'From' address
Most email templates use the {supportemail} variable to set the 'From' address of emails, the replacement value for this variable can be configured:
Via the GUI
| |
- Navigate to SiT! | Control Panel | Configuration and to Email | Outbound
- Set From address for support emails to the email address you want to use
Via the config file
| |
- Set $CONFIG['support_email'] variable in your config file.
Alternatively you can edit the email template(s) to use a different from address.
| |