Email at registration
#1

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

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[] );
Reply
#3

Uhm, so?
SendMail( "Email@Adresse.com", "Sender@Mail.com", "Servername", "Title", "Hello, this is a Message");

?
Reply
#4

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[Hellothis is a Message] ); 
Like that
Reply
#5

@Bikken: No, just no.

HappyDeathmatch, you had it correct.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)