Notification Email from Forms2 users found helpful
Mail Exception Occurred. Unable to send mail: Unable to send mail
#0 /concrete/libraries/3rdparty/Zend/Mail/Transport/Abstract.php(348): Zend_Mail_Transport_Sendmail->_sendMail()
#1 /concrete/libraries/3rdparty/Zend/Mail.php(973): Zend_Mail_Transport_Abstract->send(Object(Zend_Mail))
#2 /concrete/helpers/mail.php(227): Zend_Mail->send(NULL)
#3 /concrete/controllers/login.php(434): MailHelper->sendMail()
#4 [internal function]: LoginController->forgot_password()
#5 /concrete/libraries/controller.php(190): call_user_func_array(Array, Array)
#6 /concrete/libraries/controller.php(169): Controller->runTask('forgot_password', Array)
#7 /concrete/libraries/view.php(600): Controller->setupAndRun()
#8 /concrete/dispatcher.php(246): View->render(Object(Page))
#9 /index.php(2): require('/concrete/dispa...')
Template Used: forgot_password
To: [email protected]
From: "Forgot Password" <[email protected]>
Subject: Forgot Password
Here are the instructions from Yahoo on how to setup mail():
Before you can send email with Perl or PHP, you must complete the PHP/Perl Mail Setup process. To begin setting up PHP/Perl mail, click the "PHP/Perl Mail" link on the Create & Update or Index tabs of your Web Hosting Control Panel. The mail setup process allows you to customize the email address that users will see when you send them a message (for example, "From: [email protected]").
You will also need to indicate the path to the Yahoo! mail program, Sendmail. The path to Sendmail is /usr/sbin/sendmail.
The only thing I didn't do is the last paragraph sendmail path. I'm not sure where to put that.
Can anybody help me? I'm not a programmer, more of a designer so specific instructions please.
Are you familiar with setting up a phpinfo page? Just create a file on your server called phpinfo.php. In it, put
and fire it up in a browser. You should see a line under PHP Core that says "sendmail_path". If the value for this is not /usr/sbin/sendmail, then that's where the problem is and you'll need to change the ini setting.
/usr/sbin/sendmail -t -i
a little different than what yahoo asked for. I don't know if it matters.
Judging from the previous posts you did this:
Under your Yahoo Web Hosting account, go to Web Hosting Control Panel > Create & Update > php/perl mail setup.
I believe in the attempt to restrict spamming, Yahoo requires all PHP mails to specify a from: address that is in your own domain.
basicly this means you need to make sure the form/password forgotten mail adresses are defined to be of your own domain.
The basic is that these are send from the Admin adres.
You can change these by adding the following to your site.php:
The to adres you can specify under the form itself.
Yahoo itself gives this as a guide:http://help.yahoo.com/l/us/yahoo/smallbusiness/webhosting/php/php-1...
My website ishttp://www.akhter.co.uk
If you look athttp://www.akhter.co.uk/phpinfo.php... it seems i have not set up the mail criteria and this is where I am stuck to what to do.
If i check the my.ini file I do not see any mail settings there. I take it this is where they are stored?
It is on our company web server which is windows sever 2008 / iis 7 I have had to manually install PHP, Apache and MySql.
The website was designed by a web designer who created it on a Linux based server with Heart Internet so asking him technical questions regarding mysql apache etc. is not really an option
When i look at my control panel on the server I do not see any mail settings to create or edit
I could do with a walkthrough to fix this