Intranet wordpress and exchange

Hello,

I've installed wordpress through IIS for an internal intanet. it installed and works to view and login.  I'm looking for it to do is a feedback form for employees. I've also installed Contact form 7.

We use Exchange 2010 and I've added "wordpress@domain.com" as a mailbox (one fix I had read).

Errors:
1. in contact form upon send: Failed to send your message. Please try later or contact the administrator by another method.
2. from wordpress password reset screen: The e-mail could not be sent.Possible reason: your host may have disabled the mail() function.

I've looked at the wp-mail.php file but unfamiliar with it.

any assistance would be appreciated!
Thanks in advance.



Any other help would be great!
itsthuntAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Tom ChadaraviciusSenior DeveloperCommented:
phpinfo() "mail", "sendmail_from":  PHP uses "sendmail" interface which can be substituted, misconfigured or disabled.
1
itsthuntAuthor Commented:
Hi Tom, ok I found the phpinfo file...

<?php

// Show all information, defaults to INFO_ALL
//phpinfo();
if ( function_exists( 'mail' ) )
{
    echo 'mail() is available';
}
else
{
    echo 'mail() has been disabled';
}  

?>

so I will research how to add "sendmaiil_from"... any other input?
0
Tom ChadaraviciusSenior DeveloperCommented:
That's good, I also meant that calling "phpinfo()" alone would also dump the needed information, eg, is mail/sendmail even available.
0
Making Bulk Changes to Active Directory

Watch this video to see how easy it is to make mass changes to Active Directory from an external text file without using complicated scripts.

William NettmannPHP Web DeveloperCommented:
Hi,

You are on Windows, thus you need to provide WordPress with access to the Exchange Server as an SMTP server. A nice and easy plugin to use is Easy SMTP

I use it in similar circumstances, and it works as advertised.
0
itsthuntAuthor Commented:
Ok Thanks folks!

In the end.... followed wordpress install from here for iis (https://besthostingforasp.net/how-to-install-wordpress-on-iis/), then installed contact form 7 for the feedback form. The next problem was getting the email to go through on the exchange server... the answer... #fail, abandon ship and workaround to route email out to gmail and forward back in to necessary email.

After consulting a few people smarter than me and the few of you, the complications with allowing the wordpress to talk to exchange, to get around permissions and access was way more complicated then just adding an external email, allowing the virus software to permit email then BOOM... contact form sending out and receiving!
Yeah!

Hope this helps someone. or if someone comes up with other info. feel free to post...for now its working!

Cheers!
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
itsthuntAuthor Commented:
workaround
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Exchange

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.