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:
PHP.INI
[mail function]
; For Win32 only.
;
http://php.net/smtpSMTP = localhost
;
http://php.net/smtp-portsmtp_port = 25
; For Win32 only.
;
http://php.net/sendmail-fromsendmail_from = postmaster@localhost
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
;
http://php.net/sendmail-pathsendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"
[Extensions]
extension=php_bz2.dll
;extension=php_curl.dll
;extension=php_dba.dll
extension=php_mbstring.dll
extension=php_exif.dll
;extension=php_fileinfo.dll
extension=php_gd2.dll
extension=php_gettext.dll
;extension=php_gmp.dll
extension=php_imap.dll
;extension=php_interbase.dll
extension=php_ldap.dll
;extension=php_mssql.dll
;extension=php_mysql_mysqlnd.dll
extension=php_mysql.dll
;extension=php_mysqli_mysqlnd.dll
extension=php_mysqli.dll
;extension=php_oci8.dll
extension=php_openssl.dll
;extension=php_pdo_firebird.dll
;extension=php_pdo_mssql.dll
;extension=php_pdo_mysql_mysqlnd.dll
extension=php_pdo_mysql.dll
extension=php_pdo_odbc.dll
;extension=php_pdo_pgsql.dll
extension=php_pdo_sqlite.dll
;extension=php_pdo_sqlite_external.dll
;extension=php_pgsql.dll
;extension=php_pspell.dll
;extension=php_shmop.dll
;extension=php_snmp.dll
extension=php_soap.dll
extension=php_sockets.dll
extension=php_sqlite.dll
extension=php_sqlite3.dll
;extension=php_sybase_ct.dll
;extension=php_tidy.dll
extension=php_xmlrpc.dll
CONFIG.PHP
$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'] = '
xxxxxxx@xxx.xxx.xxx.xx';
$conf['settings']['phpmailer']['smtp.password'] = 'xxxxxxxx';
$conf['settings']['phpmailer']['sendmail.path'] = '/usr/sbin/sendmail';
SENDMAIL.INI
These are the settings for sendmail.ini (although I'm not trying to use this now)
[sendmail]
; 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
; application.
smtp_server=smtp.gmail.com
; smtp port (normally 25)
smtp_port=465
; 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
default_domain=mydomain.xxx.edu.au
; log smtp errors to error.log (defaults to same directory as sendmail.exe)
; uncomment to enable logging
error_logfile="c:\xampp\sendmail\sendmail.log"
; create debug log as debug.log (defaults to same directory as sendmail.exe)
; uncomment to enable debugging
;debug_logfile=debug.log
; if your smtp server requires authentication, modify the following two lines
auth_username=xxxxxxx@xxx.xxx.edu.au
auth_password=xxxxxxxx
; if your smtp server uses pop3 before smtp authentication, modify the
; following three lines
;pop3_server=
;pop3_username=
;pop3_password=
; 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
;force_sender=me@localhost
; 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
hostname=localhost
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)