October 10th, 2002, 01:37 AM
Ok, here's my problem. I installed PHP-Nuke on my server and I also had this problem with InvisionBoards Anyways here it is...
The users dosn't get their confermation e-mail. And I cannot snet out newsletters. Also When I try to sned out mass-mail to all my users in InvisionBoards I get this problem also.
Quote from FeedBack on PHP-NUKE
I donno what do to. :|
Warning: Failed to connect to mailserver, verify your "SMTP" setting in php.ini in c:\apache\htdocs\unerror\html\modules\Feedback\index.php on line 79
Mail has been sent!
Thank you for contacting us
October 10th, 2002, 01:47 AM
It appears that you forgot to add a little php code to your apache webserver to connect to the mailserver. I'm not exactly a php wizard, but it appears to be that problem, that no mailserver was specified or entered into the code. Either that, or there was a mistake, and it says it was on line 79. Check it out and see if you didn't add something in, or did add something not needed.
October 10th, 2002, 01:50 AM
I checked line 79 in the file it told me to. It says...
I didn't edit this file at all....
mail($to, $subject, $msg, $mailheaders);
October 10th, 2002, 02:12 AM
From what I believe, there should be a $send code in there. I can be wrong, but I think it could be either $send or $connect. If I'm wrong, I'm sorry, Im just trying to help.
October 10th, 2002, 02:16 AM
I donno. I'm not PHP wiz either. I didn't edit the code at all. I used it as it came. If there is anything need to do to get it to work someone please help me..
October 10th, 2002, 07:44 AM
Open your configuration file, or wherever you need to enter your host mail data and make sure all settings are correct. If you don't have a specific user, try localhost and see if that works. You can find this information wherever your mail is hosted.
October 10th, 2002, 08:13 AM
The error is not in line 79. The mail command just tries to send the mail to the specific address $to with the message body $msg and the subject $subject and possibly additional headers. All these variables are gathered somewhere else in the script and need input from the current visitor. You need to configure your mail settings as GreekGoddess told. I think that the user, with which you are running the script (index.php) will appear as sender of the mail and should have access to your mail server. And of course your computer should have access to that server as well.
October 10th, 2002, 08:58 PM
I don't understand... I'm not a whiz at coding sites.... Can you please explain it in simple terms, and how to do it, if you can. Or PM me or what ever.
Thanks in advance
EDIT: All my mail setting are correct in the sites them selves I think...
October 11th, 2002, 01:10 AM
hi, microburn i was wondering what is invisionboards??
if you can\'t wear the skin of a lion wear the skin of a fox
October 11th, 2002, 04:30 AM
Okay, you usually have two options from your virtual control panel, let's take PHPNuke for example, go to your administrative configuration options.
You should see two choices, either e-mail via boards or through SMTP. If you choose SMTP, you have to make sure that all the data correlates with your SMTP account, or you will receive an error, oftentimes using localhost as your username with no password solves this. If it's still not working, try to enable e-mail via board.
It will usually look something like this: (This is the setup for PHPbb)
Use SMTP Server for email:
Say yes if you want or have to send email via a named server instead of the local mail function: Yes or No
SMTP Server Address
Only enter a username if your smtp server requires it
Only enter a password if your smtp server requires it
(I use host.sk and localhost is what I use, and you would put that under SMTP Server Address.)
Primordial_Ooze, Invision Board is a free open source forum that you can download at: