Email help - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Email help (
/showthread.php?tid=541734)
Email help -
osman2571 - 13.10.2014
I making email sistem in ravens gamemode and i have problem
when email sending this showing me in server log and email don't send
Код:
<?php
ini_set( 'html_errors', false );
if ( empty( $_POST[ 't' ] ) || empty( $_POST[ 'f' ] ) || empty( $_POST[ 'n' ] ) || empty( $_POST[ 's' ] ) || empty( $_POST[ 'm' ] ) )
die( 'Error: Missing parameters.' );
mail(
$_POST[ 't' ],
utf8_encode( $_POST[ 's' ] ),
$_POST[ 'm' ],
implode(
"\r\n",
array
(
'From: "' . addslashes( $_POST[ 'f' ] ) . "\" <{$_POST[ 'n' ]}>",
"Reply-To: {$_POST['f']}",
"X-Mailer: PHP/" . phpversion( ),
)
)
);
?>
Re: Email help -
osman2571 - 14.10.2014
BUMP
Re: Email help -
osman2571 - 16.10.2014
BUMP !
Re: Email help -
thefatshizms - 16.10.2014
Where are you executing this? You said its showing you this in the server log... you should be running this via a web server.
Re: Email help -
osman2571 - 16.10.2014
Yes i run this in web server
And script don't sent email to victim emails