Welcome Guest, Not a member yet? Register   Sign In
email error in tutorial setup *RESOLVED*
#1

[eluser]NielsG[/eluser]
Hello,

I followed the userguide form creation (http://ellislab.com/codeigniter/user-gui...ation.html) and in the success page I would like the information to be emailed to me. somehow, when I use a simple script with mail($to, $subject, $message) in a file on its own (mail.php), it works fine, but when I paste the mail function into the formsuccess page, it gives me an error. As though CI does something to the email settings?
The error I get is:
Code:
A PHP Error was encountered

Severity: Warning

Message: mail() [function.mail]: Failed to connect to mailserver at "localhost" port 25, verify your "SMTP" and "smtp_port" setting in php.ini or use ini_set()

Filename: views/formsuccess.php

Line Number: 25

Any insight into what CI might be doing ?


Messages In This Thread
email error in tutorial setup *RESOLVED* - by El Forum - 06-11-2009, 03:45 AM
email error in tutorial setup *RESOLVED* - by El Forum - 06-11-2009, 03:56 AM
email error in tutorial setup *RESOLVED* - by El Forum - 06-11-2009, 04:10 AM
email error in tutorial setup *RESOLVED* - by El Forum - 06-11-2009, 04:44 AM
email error in tutorial setup *RESOLVED* - by El Forum - 06-11-2009, 06:05 AM
email error in tutorial setup *RESOLVED* - by El Forum - 06-11-2009, 06:22 AM
email error in tutorial setup *RESOLVED* - by El Forum - 06-11-2009, 06:42 AM
email error in tutorial setup *RESOLVED* - by El Forum - 06-11-2009, 09:53 AM
email error in tutorial setup *RESOLVED* - by El Forum - 07-30-2010, 05:22 PM
email error in tutorial setup *RESOLVED* - by El Forum - 07-31-2010, 05:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB