SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Help Archive

 
 
Thread Tools Display Modes
Old 26/05/2010, 06:56 PM   #1
ipsBruno
Banned
 
Join Date: Apr 2010
Location: Brazil, Caxias RS
Posts: 6,159
Reputation: 483
Default [DUV] PHP Load Emails

I am making a system in which player in-game type / email [EMAIL] then it will save your email, but is giving errors are::
Quote:
Warning: mail(): SMTP server response: 550 Invalid recipient: drakonsamp@hotmail.com in c:\arquivos de programas\easyphp1-8\www\samp_serv\enviar.php on line 10
Code:
Code:
<?php
$valor1=$_GET['valor1'];
$valor2=$_GET['valor2'];
$file = file("emails.txt");
$headers = "Content-Type: text/html; charset=iso-8859-1\n";
$headers.="From: SEUEMAILAQUI \n";
foreach ($file as $line_num => $line) {
echo "Emails Cadastrado <br>";
echo "Email <b>{$line_num}</b> : " . htmlspecialchars($line) . "<br>\n";
mail("$line","$valor1","$valor2","$headers");
}
/* ... */
?>
Have to carry mail by e-mail contained there
ipsBruno is offline  
Old 26/05/2010, 07:02 PM   #2
NewTorran
Huge Clucker
 
Join Date: May 2010
Posts: 420
Reputation: 2
Default Re: [DUV] PHP Load Emails

Sorry if im wrong but i thought this was SA-MP forums not PHP forums?
NewTorran is offline  
Old 26/05/2010, 07:12 PM   #3
russo666
High-roller
 
Join Date: Sep 2007
Posts: 1,050
Reputation: 5
Default Re: [DUV] PHP Load Emails

Quote:
Originally Posted by Joe Torran C
Sorry if im wrong but i thought this was SA-MP forums not PHP forums?
He posted it on wrong section but he is using it for sa-mp.
russo666 is offline  
 

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
NPC load martin149 Help Archive 2 24/06/2010 09:52 AM
Load playerid to load for all ArTisT Help Archive 0 26/05/2010 08:45 PM
[HELP] GM load. Lynn09ę Help Archive 7 19/12/2009 08:51 AM
i cant load it brandonp Client Support 1 12/10/2009 02:26 PM
NPC Are Not Load _TeRmiNaToR_ Help Archive 7 30/09/2009 03:15 PM


All times are GMT. The time now is 06:09 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.