I'm having similar problems, I'm a noob with phpsSheduleit 2.0 and am having huge problems getting email to work. I have installed phpScheduleit on a VM Win 2008 R2 server using a xampp package...phpScheduleit appears to work fine using Ldap. However email just refuses to cooperate using sendmail or smtp. I have enabled error logging but the error log is blank (the file is there, just nothing in it) so I'm scratching my head trying to work out what to try next. If someone could help me with the following questions I would be very grateful;
1. Do I need to have some type of mail program configured (such as Mercury Mail which is an app that is packaged with xampp or or even IIS) first with smtp enabled...or is this not necessary in order to use email from within phpScheduleit?
2. As we are a college, all Internet communications are filtered by a Netbox Blue server through a proxy before they hit our router and the outside world. Would it be necessary to add an entry to our Netbox filter and or our router config?
3. Does anyone out there have a step by step config guide for phpScehduleit email configuration using the xampp package?
My current settings are:
; For Win32 only.
SMTP = localhost
smtp_port = 25
; For Win32 only.
sendmail_from = postmaster@localhost
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"
$conf['settings']['phpmailer']['mailer'] = 'smtp'; // options are 'mail', 'smtp' or 'sendmail'
$conf['settings']['phpmailer']['smtp.host'] = 'smtp.gmail.com'; // 'smtp.university.ca'
$conf['settings']['phpmailer']['smtp.port'] = '465';
$conf['settings']['phpmailer']['smtp.secure'] = 'ssl'; // options are '', 'ssl' or 'tls'
$conf['settings']['phpmailer']['smtp.auth'] = 'true'; // options are 'true' or 'false'
$conf['settings']['phpmailer']['smtp.username'] = 'email@example.com
$conf['settings']['phpmailer']['smtp.password'] = 'xxxxxxxx';
$conf['settings']['phpmailer']['sendmail.path'] = '/usr/sbin/sendmail';
These are the settings for sendmail.ini (although I'm not trying to use this now)
; you must change mail.mydomain.com to your smtp server,
; or to IIS's "pickup" directory. (generally C:\Inetpub\mailroot\Pickup)
; emails delivered via IIS's pickup directory cause sendmail to
; run quicker, but you won't get error messages back to the calling
; smtp port (normally 25)
; the default domain for this server will be read from the registry
; this will be appended to email addresses when one isn't provided
; if you want to override the value in the registry, uncomment and modify
; log smtp errors to error.log (defaults to same directory as sendmail.exe)
; uncomment to enable logging
; create debug log as debug.log (defaults to same directory as sendmail.exe)
; uncomment to enable debugging
; if your smtp server requires authentication, modify the following two lines
; if your smtp server uses pop3 before smtp authentication, modify the
; following three lines
; to force the sender to always be the following email address, uncomment and
; populate with a valid email address. this will only affect the "MAIL FROM"
; command, it won't modify the "From: " header of the message content
; sendmail will use your hostname and your default_domain in the ehlo/helo
; smtp greeting. you can manually set the ehlo/helo name if required
I also added an entry to the server firewall allow sendmail to communicate, however now that I am not attempting to use sendmail it is probably not needed. However are there any other firewall entries needed for phpScheduleit?
Are there any settings in the Apache.conf file that would need to be added / enabled?
Any assistance would be gratefully appreciated. (I hope I've posted this under the right thread)