Sendmail won't work :--(
Posted: 07. October 2011 19:55
i am trying to use the email functionality in XAMPP but haven't had much success with it so far. This is the first time i am using it. Below are my Sendmail.ini and php.ini [sendmail function] files. the smtp_server is pointing to a domino server. what am i doing wrong ? any help would be appreciated.
i also tried the testmail.php as described in this thread: http://community.apachefriends.org/f/viewtopic.php?f=16&p=173315#p173315 but no luck. it is also odd that i cannot see any of the files being created (the debug or the error files?!!).
Sendmail.ini:
php.ini:
i also tried the testmail.php as described in this thread: http://community.apachefriends.org/f/viewtopic.php?f=16&p=173315#p173315 but no luck. it is also odd that i cannot see any of the files being created (the debug or the error files?!!).
Sendmail.ini:
- Code: Select all
# Example for a user configuration file
# Set default values for all following accounts.
defaults
logfile "F:\VIT_NA\xampp\sendmail\sendmail.log"
smtp_server=10.21.43.133
smtp_port=25
error_logfile=error.log
php.ini:
- Code: Select all
[mail function]
; For Win32 only.
; http://php.net/smtp
SMTP = localhost
; http://php.net/smtp-port
;smtp_port = 25
; For Win32 only.
; http://php.net/sendmail-from
;sendmail_from = postmaster@localhost
; For Unix only. You may supply arguments as well (default: "sendmail -t -i").
; http://php.net/sendmail-path
sendmail_path = "\"F:\VIT_NA\xampp\sendmail\sendmail.exe\" -t"
; Force the addition of the specified parameters to be passed as extra parameters
; to the sendmail binary. These parameters will always replace the value of
; the 5th parameter to mail(), even in safe mode.
;mail.force_extra_parameters =
; Add X-PHP-Originating-Script: that will include uid of the script followed by the filename
mail.add_x_header = Off