[Include] C_Mail
#21

WOOOOOOOO I NEED THIS U ARE THE BEST!
Reply
#22

What it really does?Player can In-game sand an e-mail?
Reply
#23

you can use this script for example send a mail when player register...
Reply
#24

I wonder what people can actually use this for, but otherwise this is something new around the forums
Reply
#25

ehm why HTTP_GET and not HTTP_POST?
Reply
#26

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.
Reply
#27

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
Reply
#28

did minecraft allow you to use their mail service?
Reply
#29

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.
Reply
#30

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.
Reply
#31

Quote:
Originally Posted by Scienziatopazzo
Посмотреть сообщение
doesn't work: doesn't send an email to me
It doesn't send a e-mail in game.
Reply
#32

How do I configure it to work with my account in gmail?
Reply
#33

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 ?
Reply
#34

Very nice and most good is that its easy to use and understand it.
Reply
#35

Quote:
Originally Posted by BlueFire_
Посмотреть сообщение
Very nice and most good is that its easy to use and understand it.
Glad you enjoted it!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)