Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Problems with the mail function when adding new users
Hello all,
I’m sorry if I’ve missed the answer to this somewhere, I read the FAQ but couldn’t find any help there so I decided to register and post my question here.
I just recently took over handling a website which uses text pattern and needed to add a couple of users in addition to the admin. Everything went smoothly, except for upon completion – when the automatic e-mail holding log-in information and such to the new users should have left the building – the following error message was displayed at the top of the browser page:
Warning: 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() in C:\home\kunder\10196\vokalensemblen.se\textpattern\lib\txplib_misc.php on line 900
I tried to search for all kinds of e-mail configuration settings but couldn’t find any, and everything in that warning message is just gibberish to me. I have no idea how to “verify SMTP settings in php.ini” or to “use iniset() in [file on server]”.
Please help!
Offline
Re: Problems with the mail function when adding new users
Your email server’s settings are wrong in PHP, nor your PHP wouldn’t support email()-function. Are you sure that the server even has a email server or access to send emails?
About that and setting up the php.ini:
- http://email.about.com/cs/phpemailtips/qt/et022802.htm
- http://email.about.com/od/emailprogrammingtips/qt/et073006.htm
- http://email.about.com/cs/phpemailtips/qt/et031202.htm
- http://www.w3schools.com/php/php_ref_mail.asp
Cheers!
Offline
Re: Problems with the mail function when adding new users
Thanks a lot for the fast reply! Those links sure will help a lot when I find out how to configure/alter/edit/set up the php.ini file :P Should it be somehow accessible via the Textpattern program?
And yes, the server has a working e-mail server, I can log onto it via mail.vokalensemblen.se (appears to be using Neno Webmail). The domain I’m administrating (or trying to) is vokalensemblen.se.
I’m Finnish, so if something’s easier to explain in Finnish – go for it! :)
Very thankful for your help!
Last edited by CadenZ (2008-01-07 01:14:52)
Offline
Re: Problems with the mail function when adding new users
I’m Finnish, so if something’s easier to explain in Finnish – go for it! :)
I try to stick with my awasome sounding den Finenglska ;) Sometimes I even find English more efficient than the somewhat pitty Finnish.
Cheers!
Last edited by Gocom (2008-01-07 01:27:22)
Offline
Re: Problems with the mail function when adding new users
Ok ok :)
So…how do I configure/alter/edit/set up the php.ini file? :>
EDIT: Does the zem_contact plug-in have anything to do with this? I can configure it, but don’t understand anything of the lot of information and coding that appears…
Last edited by CadenZ (2008-01-07 01:40:51)
Offline
Re: Problems with the mail function when adding new users
Well, first. Have you set to yourself (if you’re publisher) an email address that is located in the email server in the user prefs of Textpattern? If not, do that, as it will be used to send the messages.
And does you diasnotics warn about anything?
Cheers!
Last edited by Gocom (2008-01-07 01:42:32)
Offline
Re: Problems with the mail function when adding new users
Yes, I am publisher and I have an e-mail address that ends with @vokalensemblen.se.
Offline
Re: Problems with the mail function when adding new users
Diagnostics says:
“Vissa Textpattern-filer har ändrats: /publish.php “
That is, “Some Textpattern files have been changed: /publish.php”
Offline