Email stuck in Apache mailoutput folder
I have created an HTML form with a send.php, I have all fields working and sending without any errors BUT the emails are getting stuck in the Apache mailoutput folder and are not getting mailed to recipients. I have made changes to my php.ini and sendmail.ini and that doesn't seem to help. Attached please see my php.ini and sendmail.ini. What am I missing?
; XAMPP: Comment out this if you want to work with an SMTP Server like Mercury
SMTP = ip address for exchange server here
smtp_port = 25
; For Win32 only.
sendmail_from = email@example.com
; XAMPP IMPORTANT NOTE (1): If XAMPP is installed in a base directory with spaces (e.g. c:\program filesC:\xampp) fakemail and mailtodisk do not work correctly.
; XAMPP IMPORTANT NOTE (2): In this case please copy the sendmail or mailtodisk folder in your root folder (e.g. C:\sendmail) and use this for sendmail_path.
; XAMPP: Comment out this if you want to work with fakemail for forwarding to your mailbox (sendmail.exe in the sendmail folder)
sendmail_path = "\"C:\xampp\sendmail\sendmail.exe\" -t"
; XAMPP: Comment out this if you want to work with mailToDisk, It writes all mails in the C:\xampp\mailoutput folder
;sendmail_path = "C:\xampp\mailtodisk\mailtodisk.exe"
; 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_server=ip address for exchange server here
; smtp port (normally 25)
Does anyone have any thoughts on what I can do?
This may not be considered help, but I'll throw it out there anyway:
I've never tried to use SMTP via those settings. I've always ended up using PHPMailer with its included SMTP class. If you do not find a resolution to this soon, you might want to give that alternative a look.
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)