AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   call an admin via email (https://forums.alliedmods.net/showthread.php?t=57431)

Greenberet 07-04-2007 15:09

call an admin via email
 
1 Attachment(s)
Code:

/***********************************************
EmailAdmin.sma
With this plugin ppl are able to contact an admin via email ingame

(c) 2007 core | Greenberet :: [email protected]

> commands:
        amx_email <text>
                text + Username + Steamid will be sent to the admin
> cvars:
        amx_email_host
                your mailserver with port e.g. your.mailserver.com:25
        amx_email_admin
                email address of the admin e.g. [email protected]
        amx_email_from
                email address you want to have as sender. this email address could be everything so it doesnt really have to exist.
                                e.g. [email protected]
        amx_email_subject
                email subject. I think i dont have to explain this

> Version 1.0
    Release

> modifiy this file like u want, but please give credits
    and notify me about it.
***********************************************/

Note: If your server needs an authentification or if it is using ssl/tls the plugin will not work

ThunderBlizzard 07-04-2007 18:14

Re: call an admin via email
 
:wink:sounds great

ThunderBlizzard 07-05-2007 07:15

Re: call an admin via email
 
compile and add in to plugins.ini in the configs dir of amxx :) should be working :twisted:

Greenberet 07-05-2007 08:13

Re: call an admin via email
 
Quote:

Originally Posted by ThunderBlizzard (Post 498942)
compile and add in to plugins.ini in the configs dir of amxx :) should be working :twisted:

and configure the cvar values

hackziner 07-05-2007 11:33

Re: call an admin via email
 
Sound Great ^^

What's happen when the mail server doesn't awnser ?:)

Quote:

while(socket_change( socket )) socket_recv( socket, buff, 1023);

Greenberet 07-05-2007 11:40

Re: call an admin via email
 
Quote:

Originally Posted by hackziner (Post 499040)
Sound Great ^^

What's happen when the mail server doesn't awnser ?:)

then the result of socket_change would be false

kmal2t 07-05-2007 13:11

Re: call an admin via email
 
Did this crash for anyone else when they tried to email?

Greenberet 07-05-2007 14:12

Re: call an admin via email
 
crash?
any error messages?
what type of crash?
which cvar values did you use?

hackziner 07-05-2007 14:28

Re: call an admin via email
 
Lol, sorry I'm silly ^^ ( kinda drunk ... )

Hawk552 07-05-2007 18:24

Re: call an admin via email
 
Waiting for possible bug report or confirmation that this works.


All times are GMT -4. The time now is 18:33.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.