Prototype for sending EMails through Sourcemod (working)
1 Attachment(s)
See attachment
Uses [INC] Base64 Encoding and Decoding library functions by SirLamer Needs [EXTENSION] Socket by sfPlayer Usage: PHP Code:
|
Re: Prototype for sending EMails through Sourcemod (working)
Pretty cool!
|
Re: Prototype for sending EMails through Sourcemod (working)
That's awesome, does it work yet?
|
Re: Prototype for sending EMails through Sourcemod (working)
Yes, I sent several emails to myself with it.
It doesn't handle unexpected responses from the SMTP server, tho. |
Re: Prototype for sending EMails through Sourcemod (working)
1 Attachment(s)
Try this attached version. It will let you send an email through the server console.
usage: smsendmail "SMTP hostname/IP" port "username" "password" "sender email" "recipient email" "subject" "message text" enclose every string in quotation marks |
Re: Prototype for sending EMails through Sourcemod (working)
ah, that's just awesome feature! :)
|
Re: Prototype for sending EMails through Sourcemod (working)
No matter what I do, I get error 530 back in the logs. ANyone get this working with gmail or hotmail smtp servers?
|
Re: Prototype for sending EMails through Sourcemod (working)
Are you just trying to use the attached test plugin right out of the box?
Quote:
|
Re: Prototype for sending EMails through Sourcemod (working)
Quote:
I cannot get this to work for me. |
Re: Prototype for sending EMails through Sourcemod (working)
is it possible if i want to make this in my plugin?
|
Re: Prototype for sending EMails through Sourcemod (working)
|
Re: Prototype for sending EMails through Sourcemod (working)
Hello,
Quote:
Quote:
|
Re: Prototype for sending EMails through Sourcemod (working)
Since you are requiring the use of socket anyways.. You could just send this to a php page and it use xmailer or whatever, and then add in ssl support. This would require an external service, obviously.
Or... you could just use sql/flatfile (and drop socket) and submit them that way... And have a php script/shell script go through and mail out your messages every few minutes. |
Re: Prototype for sending EMails through Sourcemod (working)
As much as I like this I also hate this, so lets just say you have my email, or find a way to get the email that i used on my steam. Doubt that can be done.
Then again brilliant to, like if crash or say FgtDetectedOnServer it sends me a email, or for what ever reason. |
| All times are GMT -4. The time now is 12:37. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.