Jump to content

PRoCon Email Notifier [1.0.0.3] 17.02.2011


ImportBot

Recommended Posts

  • Replies 125
  • Created
  • Last Reply

Top Posters In This Topic

  • ImportBot

    126

Originally Posted by mainXstream*:

 

Hello

 

I am getting the error listed below when I try to run this plugin, any help would be appreciated.

 

==============

Error in Emailsender(Procon plugin sandbox turned off__, check your credentials): 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(Obj ect demand, StackCrawlMark& stackMark, Boolean isPermSet)

at System.Security.CodeAccessPermission.Demand()

at System.Net.Mail.SmtpClient.Initialize()

at System.Net.Mail.SmtpClient..ctor(String host, Int32 port)

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

==============

My Settings:

Hostname - smtp.gmail.com

Port - 587 (Tried 587 and 465)

Enable SSL/TLS? - Yes

Username - [email protected]

Password - my password

EmailAddress - [email protected]

 

settings.jpg

 

Thanks

mainXstream

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

Originally Posted by PanSmajl*:

 

At first, XpKiller thx for a great plug-in. It works great for me with a Gmail account on SSL 587 port.

 

I have a little request that will further enhance the user experience and ease of use of this plugin for players. Can you please implement a notification, that will occur when someone attempts to use in-game commands but his requests per rounds are depleted?

 

The best way would be propably to make these strings admin editable in plug-in settings and also include variable with number of requests left for this player, so we can create something like this:

 

Your report/admin-call was sent, you have X requests left. OR Sorry, your requests for this round have been depleted, wait for another one.

 

Also another huge improvement would be something like player name guessing. Let me explain - I saw a votekick/ban plugin that tries to guess a correct version of misspelled player name. It prints the corrected name to player and he then accepts it by typing !yes. It's very useful considering hackers using names with a lot of similar chars (like 1 and lowercase "L"). What you think of that? I know this is more difficult cause it may involve some heavy reg-exp or syntax-analysis coding but I'm willing to help.

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

Originally Posted by XpKiller*:

 

Soon i will have time to maintain this plugin again then i will implement new features and improvements

 

@PanSmajl

 

Those text analyze( name guessing) is handled by procon. I would need to write a own methode.

the votekick/voteban uses the same technique.

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

Originally Posted by mainXstream*:

 

shibby, mainXstream: Did you try username without the @server part? I mean, use "username" not "[email protected]". It works for me with Gmail and just "username".

Thanks for the suggestion, I tried just using the username and also the username with port 465 and I get the same error.
* Restored post. It could be that the author is no longer active.
Link to comment
  • 2 weeks later...

Originally Posted by shibby*:

 

shibby, mainXstream: Did you try username without the @server part? I mean, use "username" not "[email protected]". It works for me with Gmail and just "username".

No it didn't work. :-(

 

Changed the SSL Port to 465!

 

This is now my error:

 

[21:59:39 84] Error in Emailsender(Procon plugin sandbox turned off__, check your credentials): System.Net.Mail.SmtpException: Fehler beim Senden von Mail. ---> System.IO.IOException: Von der Übertragungsverbindung können keine Daten gelesen werden: net_io_connectionclosed.

bei System.Net.Mail.SmtpReplyReaderFactory.ProcessRead (Byte[] buffer, Int32 offset, Int32 read, Boolean readLine)

bei System.Net.Mail.SmtpReplyReaderFactory.ReadLines(S mtpReplyReader caller, Boolean oneLine)

bei System.Net.Mail.SmtpReplyReaderFactory.ReadLine(Sm tpReplyReader caller)

bei System.Net.Mail.SmtpReplyReader.ReadLine()

bei System.Net.Mail.SmtpConnection.GetConnection(Strin g host, Int32 port)

bei System.Net.Mail.SmtpClient.Send(MailMessage message)

--- Ende der internen Ausnahmestapelüberwachung ---

bei System.Net.Mail.SmtpClient.Send(MailMessage message)

bei PRoConEvents.CEmailNotifier.Emailsender(String Subject, String Emailbody)

 

 

Here is the GMX settings help page: http://hilfe.gmx.net/classic/content...uebersicht.htm

* Restored post. It could be that the author is no longer active.
Link to comment
  • 2 weeks later...

Originally Posted by shibby*:

 

No it didn't work. :-(

 

Changed the SSL Port to 465!

 

This is now my error:

 

[21:59:39 84] Error in Emailsender(Procon plugin sandbox turned off__, check your credentials): System.Net.Mail.SmtpException: Fehler beim Senden von Mail. ---> System.IO.IOException: Von der Übertragungsverbindung können keine Daten gelesen werden: net_io_connectionclosed.

bei System.Net.Mail.SmtpReplyReaderFactory.ProcessRead (Byte[] buffer, Int32 offset, Int32 read, Boolean readLine)

bei System.Net.Mail.SmtpReplyReaderFactory.ReadLines(S mtpReplyReader caller, Boolean oneLine)

bei System.Net.Mail.SmtpReplyReaderFactory.ReadLine(Sm tpReplyReader caller)

bei System.Net.Mail.SmtpReplyReader.ReadLine()

bei System.Net.Mail.SmtpConnection.GetConnection(Strin g host, Int32 port)

bei System.Net.Mail.SmtpClient.Send(MailMessage message)

--- Ende der internen Ausnahmestapelüberwachung ---

bei System.Net.Mail.SmtpClient.Send(MailMessage message)

bei PRoConEvents.CEmailNotifier.Emailsender(String Subject, String Emailbody)

 

 

Here is the GMX settings help page: http://hilfe.gmx.net/classic/content...uebersicht.htm

I changed now to googlemail, too. It works immediately! ;-)

 

So, GMX dosen't work with this plug-in!

* Restored post. It could be that the author is no longer active.
Link to comment
  • 2 weeks later...

Originally Posted by Waterboyeee*:

 

We are loving the plugin. I would like to request something. Could you make it an option to enable/disable specific player commands? I'd like to disable @admin since I've seen quite a few people use that command, not sure what for, but their messages are always empty it seems and they've done it by mistake.

* Restored post. It could be that the author is no longer active.
Link to comment
  • 4 weeks later...

Originally Posted by ronin*:

 

Hi im getting this error

 

Code:

Error in Emailsender(Procon plugin sandbox turned off__, check your credentials): 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, Int32 port)
   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
I have set the mail account to my email at [email protected] is this supported _. oh i am hosting a procon layer with gameservers i requested that the sandbox be turned off and they say it has i have also restarted the layer .
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ronin*:

 

Can you tell me if this should work on a gameserver hosted layer acc ? the reply to the ticket was this

 

Code:

The setting that was modified previously has now been reverted, as it apparantly had no effect.

The error you're receiving could be down to the following (or both):
1) The details you're entering for the plugin are not correct
2) Procon sending emails out isn't allowed from here
3) Both of the above
so i tried again restarted the layer server and got this error so im guessing that sandbox was turned off the first time i asked and after they reverted it back it is now back on ?

 

Code:

Error in Emailsender(Procon plugin sandbox turned off__, check your credentials): System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: Unable to connect to the remote server ---> System.Net.Sockets.SocketException: No connection could be made because the target machine actively refused it 108.61.77.210:25
   at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.InternalConnect(EndPoint remoteEP)
   at System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& socket, IPAddress& address, ConnectSocketState state, IAsyncResult asyncResult, Int32 timeout, Exception& exception)
   --- End of inner exception stack trace ---
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6, Int32 timeout)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, Int32 timeout, GeneralAsyncDelegate asyncCallback)
   at System.Net.PooledStream.Activate(Object owningObject, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   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)
Hmm ok so im fairly sure that sandbox is off i changed to a new email acount and now im getting this msg so is it that i cant use this email address ?

 

Code:

[16:13:54 96] Error in Emailsender(Procon plugin sandbox turned off__, check your credentials): System.FormatException: The specified string is not in the form required for an e-mail address.
   at System.Net.Mime.MailBnfHelper.ReadMailAddress(String data, Int32& offset, String& displayName)
   at System.Net.Mail.MailAddress.ParseValue(String address)
   at System.Net.Mail.MailAddress..ctor(String address, String displayName, Encoding displayNameEncoding)
   at System.Net.Mail.MailAddress..ctor(String address)
   at PRoConEvents.CEmailNotifier.Emailsender(String Subject, String Emailbody)
* Restored post. It could be that the author is no longer active.
Link to comment

Originally Posted by ronin*:

 

Ok i give up im too noob to figure it out ive tried a few things but now i feel like my brain is about to explode lolhere is a screenshot of what i have the plugin set too.

 

procon.jpg

 

i badly need this plugin to work as so many base rapers empty the server so please please please help :smile:

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

Originally Posted by XpKiller*:

 

Hi,

you are using the wrong mailserver.

You are try to connect to the pop3 server of gmail.

The Pop3 server is for receiving mails and not for sending them.

You need to enter the smtp server.

Link:

http://support.google.com/mail/bin/a...n&answer=13287

 

Try

Hostaddress: smtp.googlemail.com or smtp.gmail.com bpth should work

Port: 587

Enable TLS/SSL: Yes

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

Originally Posted by ronin*:

 

I did try it before with the smtp so i tried it again here is the error .

 

procon2.jpg

 

i know my username and password are correct as i have just made the acount .

 

this is the ticket i got from gameservers about the sandbox being right .

 

Greetings,

 

The setting for enabling/disabling the Sandbox is the following:

procon.private.options.runPluginsInSandbox

 

It's located in the procon.cfg file.

 

At the moment, it's set to False.

 

That indicates that all plugins are not run in sandbox mode.

 

Thanks,

 

Alexander Zeid

"AZeid"

GameServers.com Support

time to start banging head against large brick wall :/

 

 

EDIT .. oh wait it could be working .

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

Originally Posted by Cityzen-Payne*:

 

well @tweet could let the users tweet from your servers twitter account although this could get quite messy unless it had a bad word filter.

 

and @yell could send a admin.yell message

or @say which would send a admin.say message

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

Originally Posted by Voltstriker9*:

 

Hey guys just installed this and configured it and got this error. Can you guys tell me what im doing wrong and how to fix it.

 

Code:

[00:06:04 66] Error in Emailsender(Procon plugin sandbox turned off__, check your credentials): System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: The remote name could not be resolved: 'smpt.gmail.com'
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6, Int32 timeout)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, Int32 timeout, GeneralAsyncDelegate asyncCallback)
   at System.Net.PooledStream.Activate(Object owningObject, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   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)
Many thanks,

 

Volt

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

Originally Posted by Voltstriker9*:

 

Hey guys just installed this and configured it and got this error. Can you guys tell me what im doing wrong and how to fix it.

 

Code:

[00:06:04 66] Error in Emailsender(Procon plugin sandbox turned off__, check your credentials): System.Net.Mail.SmtpException: Failure sending mail. ---> System.Net.WebException: The remote name could not be resolved: 'smpt.gmail.com'
   at System.Net.ServicePoint.GetConnection(PooledStream PooledStream, Object owner, Boolean async, IPAddress& address, Socket& abortSocket, Socket& abortSocket6, Int32 timeout)
   at System.Net.PooledStream.Activate(Object owningObject, Boolean async, Int32 timeout, GeneralAsyncDelegate asyncCallback)
   at System.Net.PooledStream.Activate(Object owningObject, GeneralAsyncDelegate asyncCallback)
   at System.Net.ConnectionPool.GetConnection(Object owningObject, GeneralAsyncDelegate asyncCallback, Int32 creationTimeout)
   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)
Many thanks,

 

Volt

Ignore this as I got it working straight after I posted /:

 

Awesome plugin thanks for designing it!

* Restored post. It could be that the author is no longer active.
Link to comment
  • 3 weeks later...

Originally Posted by Shakal-hh*:

 

i have a problem:

if someone write "!report player reason" and the playername isn't correct, the plugin suggests the right name....

but you must confirm the suggestion with !yes^^ and this is a problem...

the email is now:

 

Ted_hh has report Ted_hh

Reason: !yes

 

the reason was wrong^^

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.




×
×
  • 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.