View previous topic :: View next topic |
Author |
Message |
rwacey -
Joined: 14 Sep 2004 Posts: 3
|
Posted: Tue Sep 14, 2004 9:42 pm Post subject: phpBB Email problem |
|
|
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 |
|
 |
slanter905 -
Joined: 26 Aug 2004 Posts: 20
|
Posted: Thu Sep 16, 2004 10:33 pm Post subject: had same problem |
|
|
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 |
|
 |
rwacey -
Joined: 14 Sep 2004 Posts: 3
|
Posted: Sun Sep 19, 2004 8:11 pm Post subject: |
|
|
Okay I'll try that, Thanks. |
|
Back to top |
|
 |
rwacey -
Joined: 14 Sep 2004 Posts: 3
|
Posted: Sun Oct 03, 2004 3:24 pm Post subject: |
|
|
The solution worked! Many Thanks |
|
Back to top |
|
 |
slanter905 -
Joined: 26 Aug 2004 Posts: 20
|
Posted: Sun Oct 03, 2004 10:05 pm Post subject: great |
|
|
your very welcome |
|
Back to top |
|
 |
mrblue -
Joined: 24 Feb 2004 Posts: 27
|
|
Back to top |
|
 |
kiki92 -
Joined: 29 Jan 2004 Posts: 5
|
Posted: Thu Oct 21, 2004 5:04 pm Post subject: |
|
|
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 |
|
 |
|