Email at registration - 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 at registration (
/showthread.php?tid=422595)
Email at registration -
HappyDeathmatch - 14.03.2013
Hello from Germany!
I have a little Question, can anybody show me how i make it,
if a player registrate that an email send to him?
Lg
Re: Email at registration -
Scenario - 14.03.2013
That can get tricky. However,
Slice made a good include for sending emails.
https://sampforum.blast.hk/showthread.php?tid=197755
Read that thread for installation/usage instructions.
However, basically this is the function you'll need. Change the values according to what you need.
pawn Код:
SendMail( to[], sender_email[], sender_name[], subject[], message[] );
Re: Email at registration -
HappyDeathmatch - 14.03.2013
Uhm, so?
SendMail( "Email@Adresse.com", "Sender@Mail.com", "Servername", "Title", "Hello, this is a Message");
?
Re: Email at registration -
Bikken - 14.03.2013
Quote:
Originally Posted by HappyDeathmatch
Uhm, so?
SendMail( "Email@Adresse.com", "Sender@Mail.com", "Servername", "Title", "Hello, this is a Message");
?
|
PHP код:
SendMail( to[Email@Adresse.com], sender_email[Sender@Mail.com], sender_name[Servername], subject[Title], message[Hello, this is a Message] );
Like that
Re: Email at registration -
Scenario - 14.03.2013
@Bikken: No, just no.
HappyDeathmatch, you had it correct.