Plans - Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist     RegisterRegister  ProfileProfile   Log inLog in
Email Reminder problem

 
Post new topic   Reply to topic    Plans - Forum Forum Index » Problems
View previous topic :: View next topic  
Author Message
Jon



Joined: 19 Oct 2006
Posts: 1

PostPosted: Thu Oct 19, 2006    Post subject: Email Reminder problem Reply with quote

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
View user's profile Send private message
daltonlp
Site Admin


Joined: 24 Nov 2003
Posts: 1499

PostPosted: Fri Oct 20, 2006    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Plans - Forum Forum Index -> Problems All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group / Oranja by Lessthaneric.net