Raised This Month: $95 Target: $400
 23% 

call an admin via email


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   Hawk552 (427)
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 07-04-2007 , 16:09   call an admin via email
Reply With Quote #1

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
Attached Files
File Type: sma Get Plugin or Get Source (EmailAdmin.sma - 2708 views - 4.0 KB)
__________________

Last edited by Greenberet; 07-06-2007 at 02:23.
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
ThunderBlizzard
Member
Join Date: Jun 2007
Old 07-04-2007 , 19:14   Re: call an admin via email
Reply With Quote #2

sounds great
__________________

"Dont touch a running system" Define Running? i want it running faster and better always
ThunderBlizzard is offline
Old 07-05-2007, 01:19
warlock
This message has been deleted by warlock.
ThunderBlizzard
Member
Join Date: Jun 2007
Old 07-05-2007 , 08:15   Re: call an admin via email
Reply With Quote #3

compile and add in to plugins.ini in the configs dir of amxx should be working
__________________

"Dont touch a running system" Define Running? i want it running faster and better always
ThunderBlizzard is offline
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 07-05-2007 , 09:13   Re: call an admin via email
Reply With Quote #4

Quote:
Originally Posted by ThunderBlizzard View Post
compile and add in to plugins.ini in the configs dir of amxx should be working
and configure the cvar values
__________________
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
hackziner
Senior Member
Join Date: Sep 2006
Location: France
Old 07-05-2007 , 12:33   Re: call an admin via email
Reply With Quote #5

Sound Great ^^

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

Quote:
while(socket_change( socket )) socket_recv( socket, buff, 1023);
__________________
hackziner is offline
Send a message via ICQ to hackziner Send a message via AIM to hackziner Send a message via MSN to hackziner Send a message via Yahoo to hackziner Send a message via Skype™ to hackziner
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 07-05-2007 , 12:40   Re: call an admin via email
Reply With Quote #6

Quote:
Originally Posted by hackziner View Post
Sound Great ^^

What's happen when the mail server doesn't awnser ?
then the result of socket_change would be false
__________________
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
kmal2t
BANNED
Join Date: Apr 2006
Old 07-05-2007 , 14:11   Re: call an admin via email
Reply With Quote #7

Did this crash for anyone else when they tried to email?
kmal2t is offline
Greenberet
AMX Mod X Beta Tester
Join Date: Apr 2004
Location: Vienna
Old 07-05-2007 , 15:12   Re: call an admin via email
Reply With Quote #8

crash?
any error messages?
what type of crash?
which cvar values did you use?
__________________
Greenberet is offline
Send a message via ICQ to Greenberet Send a message via MSN to Greenberet
hackziner
Senior Member
Join Date: Sep 2006
Location: France
Old 07-05-2007 , 15:28   Re: call an admin via email
Reply With Quote #9

Lol, sorry I'm silly ^^ ( kinda drunk ... )
__________________
hackziner is offline
Send a message via ICQ to hackziner Send a message via AIM to hackziner Send a message via MSN to hackziner Send a message via Yahoo to hackziner Send a message via Skype™ to hackziner
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 07-05-2007 , 19:24   Re: call an admin via email
Reply With Quote #10

Waiting for possible bug report or confirmation that this works.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:21.


Powered by vBulletin®
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Theme made by Freecode