[Include] C_Mail - 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: Filterscripts (
https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (
https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] C_Mail (
/showthread.php?tid=188393)
Re: C_Mail -
iJumbo - 08.11.2010
WOOOOOOOO I NEED THIS U ARE THE BEST!
Re: C_Mail -
oliver12 - 08.11.2010
What it really does?Player can In-game sand an e-mail?
Re: C_Mail -
iJumbo - 08.11.2010
you can use this script for example send a mail when player register...
Re: C_Mail -
Hiddos - 08.11.2010
I wonder what people can actually use this for, but otherwise this is something new around the forums
Re: C_Mail -
iJumbo - 08.11.2010
ehm why HTTP_GET and not HTTP_POST?
Re: C_Mail -
Slice - 08.11.2010
Quote:
Originally Posted by Hiddos
I wonder what people can actually use this for, but otherwise this is something new around the forums 
|
This maybe:
Quote:
Originally Posted by Example
Hello [xXx]HaKeRRR,
Your account was banned from Server, reason: cheating. Visit this website to appeal your ban if you think you were wrongfully banned: http://example.com.
|
Re: C_Mail -
Cameltoe - 08.11.2010
Quote:
Originally Posted by g_aSlice
yo,
Good job on this. You should, hoever, encode the incoming data to avoid any issues (for example, using the ampersand (&) could cause havoc.).
I made this function for you:
pawn Код:
stock EncodeURL( szString[ ], iSize = sizeof( szString ) ) { for ( new i = 0, l = strlen( szString ); i < l; i++ ) { switch ( szString[ i ] ) { case '!', '(', ')', '\'', '*', '0' .. '9', 'A' .. 'Z', 'a' .. 'z': { continue; } case ' ': { szString[ i ] = '+'; continue; } } new s_szHex[ 8 ] ; if ( i + 3 >= iSize ) { szString[ i ] = EOS; break; } if ( l + 3 >= iSize ) szString[ iSize - 3 ] = EOS; format( s_szHex, sizeof( s_szHex ), "%02h", szString[ i ] ); szString[ i ] = '%'; strins( szString, s_szHex, i + 1, iSize ); l += 2; i += 2; if ( l > iSize - 1 ) l = iSize - 1; } }
Simply run any incoming strings through that. Make sure you have enough space in the array, though.
|
Neat! thanks a lot
Re: C_Mail -
legodude - 08.11.2010
did minecraft allow you to use their mail service?
Re: C_Mail -
Cameltoe - 08.11.2010
Quote:
Originally Posted by legodude
did minecraft allow you to use their mail service?
|
http://minecraft.at/ isn't one of minecrafts service. its an personal host where an user decided to host this script.
Whether i had permission or not would be up to the user that posted his / hers url to the script in first place.
Re: C_Mail -
ziomal432 - 08.11.2010
Quote:
Originally Posted by [ISS]jumbo
ehm why HTTP_GET and not HTTP_POST?
|
Because he sends the data through the target adress, not in the special HTTP function argument. Learn PHP and you will understand this.
Re: C_Mail -
TheArcher - 25.07.2011
Quote:
Originally Posted by Scienziatopazzo
doesn't work: doesn't send an email to me
|
It doesn't send a e-mail in game.
Re: C_Mail -
Maniek - 08.10.2012
How do I configure it to work with my account in gmail?
Re: C_Mail -
Cameltoe - 09.10.2012
Quote:
Originally Posted by Scienziatopazzo
doesn't work: doesn't send an email to me
|
It does work, i'm sure it's your ISP blocking traffic on port 25 ( Mail )
Quote:
Originally Posted by Maniek
How do I configure it to work with my account in gmail?
|
I'm not completely sure what you ment by your question but a simple ****** search gave me this link:
http://digiex.net/guides-reviews/gui...erver-ssl.html
Is that what you are looking for ?
Re: C_Mail -
BlueFire_ - 10.10.2012
Very nice and most good is that its easy to use and understand it.
Re: C_Mail -
Cameltoe - 11.10.2012
Quote:
Originally Posted by BlueFire_
Very nice and most good is that its easy to use and understand it.
|
Glad you enjoted it!