PHP to email error

Posted on 2014-07-17
Last Modified: 2014-08-03
Hi guys,

AM trying to use php form to email some questions direct to my email address. However it seems to fail permanently.

Using IIS7. The attached error keeps on popping out after user presses submit.

Some people have asked me to change the php.ini settings but not able to find this file.

Someone please help. Thanks!
Question by:always-asking
    LVL 58

    Expert Comment

    Is this using a local SMTP server?
    Is the local SMTP server running?

    In php.ini have you set these two values (changing them as necessary)
    smtp = localhost
    smtp_port = 25

    Author Comment

    ok I think IIS does not come with PHP installed by default? Just discovered this now. Am downloading the binaries. Am I correct?
    LVL 58

    Accepted Solution

    Well that would be one reason ;o)

    Use the installer - lot less of an headache

    Author Comment

    where do I find the PHP.ini file?
    LVL 58

    Expert Comment

    It will be in C:/php/
    LVL 7

    Expert Comment

    by:Vimal DM

    For you people i always suggest PHPMAILER is the best one to manage the mailing process from php, which will handle,

    1. Not into a spam
    2. Bluck  mails
    3. Attachments
    4. etc......

    Featured Post

    How your wiki can always stay up-to-date

    Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
    - Increase transparency
    - Onboard new hires faster
    - Access from mobile/offline

    Join & Write a Comment

    Displaying an arrayList in a listView using the default adapter is rarely the best solution. To get full control of your display data, and to be able to refresh it after editing, requires the use of a custom adapter.
    This is about my first experience with programming Arduino.
    This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
    In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

    754 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    19 Experts available now in Live!

    Get 1:1 Help Now