• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 236
  • Last Modified:

PHP to email error

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!
ERROR.jpg
0
always-asking
Asked:
always-asking
  • 3
  • 2
1 Solution
 
GaryCommented:
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
0
 
always-askingAuthor Commented:
ok I think IIS does not come with PHP installed by default? Just discovered this now. Am downloading the binaries. Am I correct?
0
 
GaryCommented:
Well that would be one reason ;o)

Use the installer - lot less of an headache
http://www.microsoft.com/web/platform/phponwindows.aspx
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
always-askingAuthor Commented:
where do I find the PHP.ini file?
0
 
GaryCommented:
It will be in C:/php/
0
 
Vimal DMCommented:
Hi,

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......
0

Featured Post

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now