phpBB Email problem

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
rwacey
-


Joined: 14 Sep 2004
Posts: 3

PostPosted: Tue Sep 14, 2004 9:42 pm    Post subject: phpBB Email problem Reply with quote

Hi,

I've just set up a phpBB 2.0.10 forum running on the latest version of the Abyss Webserver.

When a user registers with the forum, this message is seen:

Failed sending email :: PHP ::

DEBUG MODE

Line : 234
File : C:\Program Files\Abyss Web Server\phpbb2\includes\emailer.php


When the email settings are changed to use SMTP, this error is displayed:

Ran into problems sending Mail. Response: 502 Command is locally disabled

DEBUG MODE

Line : 125
File : C:\Program Files\Abyss Web Server\phpbb2\includes\smtp.php


I'd like to know how I can solve this problem. It seems that the members are registered to the forum, but this error is displayed and the emails aren't recieved.

Thanks for your help.
Back to top View user's profile Send private message
slanter905
-


Joined: 26 Aug 2004
Posts: 20

PostPosted: Thu Sep 16, 2004 10:33 pm    Post subject: had same problem Reply with quote

set it to smtp and put your adress of the smtp server example is smtp.charter.net but dont put a username and password 125 usually means that u have a username and password in your smtp configuration settings and it dont want one and is confusing it by seeing one

hope that helps it fixed mine
Back to top View user's profile Send private message
rwacey
-


Joined: 14 Sep 2004
Posts: 3

PostPosted: Sun Sep 19, 2004 8:11 pm    Post subject: Reply with quote

Okay I'll try that, Thanks.
Back to top View user's profile Send private message
rwacey
-


Joined: 14 Sep 2004
Posts: 3

PostPosted: Sun Oct 03, 2004 3:24 pm    Post subject: Reply with quote

The solution worked! Many Thanks
Back to top View user's profile Send private message
slanter905
-


Joined: 26 Aug 2004
Posts: 20

PostPosted: Sun Oct 03, 2004 10:05 pm    Post subject: great Reply with quote

your very welcome
Back to top View user's profile Send private message
mrblue
-


Joined: 24 Feb 2004
Posts: 27

PostPosted: Tue Oct 19, 2004 5:41 pm    Post subject: Reply with quote

I have this problem and its the same error when trying to send a pm but i dont have smtp, what can i do?
_________________
WolframHartLA - Angel Forums and general sci-fi
Back to top View user's profile Send private message Visit poster's website
kiki92
-


Joined: 29 Jan 2004
Posts: 5

PostPosted: Thu Oct 21, 2004 5:04 pm    Post subject: Reply with quote

Hi from France,

I would like to use php to send a message with a form.
I found on the net some of script in php and one work but i have this error

"Warning: Cannot modify header information - headers already sent by (output started at G:\FTP\htdocs\mail\formmail.php:4) in G:\FTP\htdocs\mail\formmail.php on line 19"

May anybody explane to me please ??

code in index.html
--------------------------------------------------------------------------------------
<html>
<!-- Date de création: 07/05/2004 -->
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<title></title>
<meta name="description" content="">
<meta name="keywords" content="">
</head>
<body>
<div align="center"><font size="+2">Tutoriel Divers pour Universdj</font></div><br><br><br><br>

<div align="left"><a href="http://users.universdj.com/~djkik/tutorial/enregistrement_udj.html" rel="nofollow" target="_blank" alt="Comment s'enregistrer sur Universdj">1°) Comment s'enregistrer sur Universdj</a></div>
<div align="left"><a href="http://users.universdj.com/~djkik/tutorial/Ajout_de_fichiers_sur_universdj.htm" rel="nofollow" target="_blank" alt="Comment Ajouter un Fichier sur Universdj">2°) Comment Ajouter un Fichier sur Universdj</a><br></div>
<div align="left"><a href="http://users.universdj.com/~djkik/tutorial/winamp.htm" rel="nofollow" target="_blank" alt="Comment Profiter du son MP3PRO sur Universdj">3°) Comment Profiter du son MP3PRO sur Universdj</a><br></div>
<br><br><br><br><br><br>
<div align="center"><h5>Pour toutes informations complèmentaires</h5></div>
<div align=center>
<form method=POST action=formmail.php >
<input type=hidden name=subject value=formmail>
<table>
<tr><td>Votre Nom:</td>
<td><input type=text name=realname size=30></td></tr>
<tr><td>Votre Email:</td>
<td><input type=text name=email size=30></td></tr>
<tr><td>Sujet:</td>
<td><input type=text name=title size=30></td></tr>
<tr><td colspan=2>Commentaires:<br>
<textarea COLS=50 ROWS=6 name=comments></textarea>
</td></tr>
</table>
<br> <input type=submit value=Envoyer> -
<input type=reset value=Annuler>
</form>
</div>
</body>
</html>
--------------------------------------------------------------------------------------

Code of formmail.php

<?php /* Date de création: 20/10/2004 */ ?>
<html>
<body>
<?php
$TO = "mymail@fai.com";

$h = "From: " . $TO;

$subject = "";

$message = "";

while (list($key, $val) = each($HTTP_POST_VARS)) {
$message .= "$key : $val\n";
}

mail($TO, $subject, $message, $h);

Header("Location: formmail.php");
?>
Merci, votre méssage à bien été envoyé.
</body>
</html>

--------------------------------------------------------------------------------------

Thanks for all :)
Back to top View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group