Results 1 to 3 of 3

Thread: Email stuck in Apache mailoutput folder

  1. #1
    Join Date
    Jun 2013

    Email stuck in Apache mailoutput folder

    Morning all,

    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?


    [mail function]
    ; 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.
    ; http://php.net/sendmail-from
    sendmail_from = sharepoint@companyname.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
    ; application.

    smtp_server=ip address for exchange server here

    ; smtp port (normally 25)



    Does anyone have any thoughts on what I can do?


  2. #2
    Join Date
    Jun 2013

  3. #3
    Join Date
    Aug 2004
    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.
    "Well done....Consciousness to sarcasm in five seconds!" ~ Terry Pratchett, Night Watch

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

    My Blog
    cwrBlog: simple, no-database PHP blogging framework

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
HTML5 Development Center