| View previous topic :: View next topic |
| Author |
Message |
Jon
Joined: 19 Oct 2006 Posts: 1
|
Posted: Thu Oct 19, 2006 Post subject: Email Reminder problem |
|
|
I just set up the calendar on a windows server. Everything seems to work fine, but when I try to send a test email to myself I get this error. Thanks for the help.
Jon
Can't open sendmail at /usr/sbin/sendmail! |
|
| Back to top |
|
 |
daltonlp Site Admin
Joined: 24 Nov 2003 Posts: 1499
|
Posted: Fri Oct 20, 2006 Post subject: |
|
|
sendmail is a unix-specific way to send email.
In plans.cgi, there's a switch to choose between sendmail and SMTP (assumign you have SMTP set up on your windows server). It says "not supported yet", but that's untrue - it is supported and does work.
| Code: | $options{email_mode} = 1; # 0 = off
# 1 = unix (sendmail)
# 2 will be windows STMP (not supported yet)
if ($options{email_mode} == 1)
{
$options{sendmail_location} = "/usr/sbin/sendmail";
}
elsif ($options{email_mode} == 2)
{
require Net::SMTP;
$options{mail_server}="127.0.0.1";
$smtp = Net::SMTP->new($options{mail_server});
} |
- Lloyd |
|
| Back to top |
|
 |
|