Jump to content
Sign in to follow this  
ImportBot

PRoCon Email Notifier [1.0.0.3] 17.02.2011

Recommended Posts

Originally Posted by XpKiller*:

 

Description

This plugin is used to sent Emails to various Events.

Like sent Serverstatus Emails.

The InCommands have a Spamprotection which prevent abuse.

 

Requirements

You need an account for an smtp Server.

PRoCon Sandbox must be disabled

Pls Give FEEDBACK !!!

 

Installation

Download and install this plugin

Or install it over the PRoCon Packetmanagement

 

Ingame Commands

[@,#,!]report PlayerName [Reason]

[@,#,!]admin [Reason]

 

Known issues:

Reason is not work properly all the time.

 

Plans for future release:

improve Ingame Commands

Feature Request from the community

 

Changelog:

1.0.0.3

Now with support for more than one receiver (TO, CC and BCC)

 

1.0.0.2

Added Ingame Commands (report, admin)

@report playername

@admin [reason]

Emailsubject and Body are editable.

 

1.0.0.1

 

Now with SSL/TLS Support

 

1.0.0.0

 

First release

 

Downloads:

PRoCon Email Notifier [1.0.0.3]


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by XpKiller*:

 

*reserved for me*


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by HelloKitty*:

 

I like the idea! Tried it with a gmail account:

 

Code:

Error in Emailsender: System.Security.SecurityException: Request for the permission of type 'System.Net.Mail.SmtpPermission, System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089' failed.
   at System.Security.CodeAccessSecurityEngine.Check(Object demand, StackCrawlMark& stackMark, Boolean isPermSet)
   at System.Security.CodeAccessPermission.Demand()
   at System.Net.Mail.SmtpClient.Initialize()
   at System.Net.Mail.SmtpClient..ctor(String host)
   at PRoConEvents.CEmailNotifier.Emailsender(String Subject, String Emailbody)
The action that failed was:
Demand
The type of the first permission that failed was:
System.Net.Mail.SmtpPermission
The Zone of the assembly that failed was:
MyComputer
Sandbox is off. OS is WinServ2k8 x64 in XenVirtualisation.

* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by XpKiller*:

 

You must restart procon if you don't do it the change of the sandbox don't take effect.

Error you got is the typical error message if the sandbox is enabled.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by HelloKitty*:

 

Restart after turning off sandbox was needed.

 

I tested it with 3 different mail providers:

"web.de" - works

"one.com" - works

"googlemail" - error:

Code:

Error in Emailsender: System.Net.Mail.SmtpException: The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.7.0 Must issue a STARTTLS command first. b52sm4403752eei.7
   at System.Net.Mail.MailCommand.CheckResponse(SmtpStatusCode statusCode, String response)
   at System.Net.Mail.SmtpTransport.SendMail(MailAddress sender, MailAddressCollection recipients, String deliveryNotify, SmtpFailedRecipientException& exception)
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at PRoConEvents.CEmailNotifier.Emailsender(String Subject, String Emailbody)
looks like a tls encryption problem...?

* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by XpKiller*:

 

Good find

I just found out that the class system.net.mail don't support implicit SSL/TLS.

It's only supports explicit SSL.

Also many have problems with goggles mail server.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by XpKiller*:

 

*Bump*

New version SSL/TLS Support

Googlemail should work now.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by HelloKitty*:

 

and another suggestion: It would be nice, if the mails include the timestamp when they have been sent.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by XpKiller*:

 

Use %Now% to create a timestamp in subject or mailbody.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by tofu*:

 

thank u m8 i requested this plugin a time ago

 

really thanks for doing it

regards,

tofu

 

btw i am gona install it now and give u feedback as soon as i have one


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by slekkas*:

 

Thanks for this plug-in m8.

 

I installed it and it works fine. just one question/request. Is there a way to send an email to more than one admin? We are 3-4 admins and we would all like to be notified by mail.

 

Another thing that i would like is to be notified if the server is stuck to one map. It happens sometimes and the server gets empty. If the plug-in could see that the two rounds of one map has finished and the next round is the same map send an email to admins.

 

Thanks again.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by MorpheusX(AUT)*:

 

Attachment doesn't work anymore :sad:

Would love to have that plugin too, have been waiting for sth. similar ever since the admin-alert plugin :biggrin:


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by XpKiller*:

 

*Reupped it*

 

New version will come out shortly with new feature: report a player ingame via email to a admin.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by RedOne1*:

 

Hi XPkiller

 

Installed it on one server (we got 4) and It works ok till now.

 

You can work it out very much if you want.

 

Think about:

 

- Make a combi with other plugins you made.

- Give a mail by kick and/or ban

- Send mail when words are triggered

 

Go on with your good job.

 

GrTz Red


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by bordensize*:

 

So, how would one give feedback? I've read the documents on it and don't see much.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Simen*:

 

I can't get this working. I'm getting this error:

Code:

Error in Emailsender: System.Net.Mail.SmtpException: Failure sending mail. ---> System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed.
   at System.Net.Mail.SmtpReplyReaderFactory.ProcessRead(Byte[] buffer, Int32 offset, Int32 read, Boolean readLine)
   at System.Net.Mail.SmtpReplyReaderFactory.ReadLines(SmtpReplyReader caller, Boolean oneLine)
   at System.Net.Mail.SmtpReplyReaderFactory.ReadLine(SmtpReplyReader caller)
   at System.Net.Mail.SmtpConnection.GetConnection(String host, Int32 port)
   at System.Net.Mail.SmtpTransport.GetConnection(String host, Int32 port)
   at System.Net.Mail.SmtpClient.GetConnection()
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   --- End of inner exception stack trace ---
   at System.Net.Mail.SmtpClient.Send(MailMessage message)
   at PRoConEvents.CEmailNotifier.Emailsender(String Subject, String Emailbody)
I'm using gmail and have these settings: http://bildr.no/view/799531

 

Help anyone? Thanks!


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by ToM666*:

 

Hi guys, I think this is the plugin that I've hoped for some time somebody would create 8-)

 

I've been looking for a plugin that will detect a text such as "@admin needed" and then email either one admin or all the admins.

 

I know this only emails one address for now, but it is a start :biggrin:

 

I have set up the email etc and I'm not really interested at this stage in the server status, so how do I configure it react to a specific event?

 

Many Thanks guys

 

Tom


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by XpKiller*:

 

Hi Tom

I'm working on this atm.

In my beta it is possible to report a player.

The the feature you request is planed too.

Maybe I'm able to release it today.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by ToM666*:

 

Mint mate, that's very good news 8-)

 

Many thanks for putting the time in on this mate.

 

Regards

 

ToM


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by XpKiller*:

 

New Version 1.0.0.2

 

Please give Feedback

 

Changelog:

1.0.0.2

Added Ingame Commands (report, admin)

@report playername

@admin [reason]

Emailsubject and Body are editable.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by ToM666*:

 

Right, I really, really, really want this to work, so I am going to take the time to try and sort this out :biggrin:

 

First of all, thank you very much for getting this sorted mate.

 

Now then, I have been trying to get this to work but so far have failed. This is probably down to me I am not sure.

I am using Microsoft outlook and I am with virginmedia.

 

These are their settings:

 

Settings for Virgin Media

 

I have filled in the following:

 

enable admin emails = yes

admin mailbody = unchanged

reciever details = unchanged

reportmailmail = yes

report subject = unchanged

report mailbody = unchanged

smtp details

host address = smtp.virginmedia.com

port = 465

enable ssl/tls = yes

username = my full email address

password = my password (i've just checked this and it is correct)

email address = my full email address.

 

If there is any more info I can give you please dont hesitate to ask and if you can see something I have done wrong, please let me know.

 

I think I have switched the sandbox off? It is in options and I have selected to run all plugins freely?


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Cain*:

 

Has anyone had success getting this to work with a Gmail account?

 

This is an exciting plugin, just a couple of jerks can quickly empty a server with no Admin present.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by XpKiller*:

 

Outgoing Mail (SMTP) Server - requires TLS or SSL: smtp.gmail.com (use authentication)

Use Authentication: Yes

Port for TLS/STARTTLS: 587

Port for SSL: 465

Account Name: your full email address (including @gmail.com or @your_domain.com)

Email Address: your email address ([email protected] or [email protected])

Password: your Gmail password

 

Try port 587 should work


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Cain*:

 

Fantastic, so it will work with Gmail!!

 

Great work, thank you for making this for us!


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by ToM666*:

 

Any ideas on why it wont work for me mate?


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by XpKiller*:

 

Do you have the sandbox off?

The plugin only support implicit SSL( called TLS/SSL) which ran over Port 587.

If you email provider doesnt support this plugin wont work. I cant change that because the email class of c# doesnt support explicit SSL (mostly port 465).

 

More:

http://msdn.microsoft.com/en-us/library ... lessl.aspx

An alternate connection method is where an SSL session is established up front before any protocol commands are sent. This connection method is sometimes called SMTP/SSL, SMTP over SSL, or SMTPS and by default uses port 465. This alternate connection method using SSL is not currently supported.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Legate*:

 

It´s works fine on gmail account.

 

Thanks XpKiller :ohmy:


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by MorpheusX(AUT)*:

 

Just added an admin-list and a check, whether one of the admins is online before sending a report/admin mail.

Was using it and was annoyed by the "spam" when I was playing myself, so just implemented it. If an admin is online, he will recieve an ingame-message and no mail will be sent.

If you are interested, I can post my changes in here.


* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Originally Posted by Legate*:

 

.....

I installed it and it works fine. just one question/request. Is there a way to send an email to more than one admin? We are 3-4 admins and we would all like to be notified by mail.

....

More than one email account will be an excelent feature (We are 5 Admins).

* Restored post. It could be that the author is no longer active.

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  
  • Our picks

    • I wanted I let you know that I am starting to build out the foundation for the hosting services that I talked about here. The pricing model I was originally going for wasn't going to be suitable for how I want to build it. So instead I decided to offer each service as it's own product instead of a package deal. In the future, hopefully, I will be able to do this and offer discounts to those that choose it.

      Here is how the pricing is laid out for each service as well as information about each. This is as of 7/12/2020.

      Single MySQL database (up to 30 GB) is $10 USD per month.



      If you go over the 30 GB usage for the database then each additional gigabyte is charged at $0.10 USD each billing cycle. If you're under 30GB you don't need to worry about this.


      Databases are replicated across 3 zones (regions) for redundancy. One (1) on the east coast of the USA, One (1) in Frankfurt, and One (1) in Singapore. Depending on the demand, this would grow to more regions.


      Databases will also be backed up daily and retained for 7 days.




      Procon Layer will be $2 USD per month.


      Each layer will only allow one (1) game server connection. The reason behind this is for performance.


      Each layer will also come with all available plugins installed by default. This is to help facilitate faster deployments and get you up and running quickly.


      Each layer will automatically restart if Procon crashes. 


      Each layer will also automatically restart daily at midnight to make sure it stays in tip-top shape.


      Custom plugins can be installed by submitting a support ticket.




      Battlefield Admin Control Panel (BFACP) will be $5 USD per month


      As I am still working on building version 3 of the software, I will be installing the last version I did. Once I complete version 3 it will automatically be upgraded for you.





      All these services will be managed by me so you don't have to worry about the technical side of things to get up and going.

      If you would like to see how much it would cost for the services, I made a calculator that you can use. It can be found here https://ezrcon.com/calculator.html

       
      • 10 replies
    • I have pushed out a new minor release which updates the geodata pull (flags in the playerlisting). This should be way more accurate now. As always, please let me know if any problems show up.

       
      • 6 replies
×
×
  • Create New...

Important Information

Please review our Terms of Use and Privacy Policy. We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.