Pages: [1] :: one page |
|
Author |
Thread Statistics | Show CCP posts - 0 post(s) |
Seidr
Cruentus Invicta
|
Posted - 2010.06.24 19:15:00 -
[1]
Introduction
This project aims to allow communication between POP Email and Ingame EVEMail, using automated interaction with CCPs EVEGate to retrieve and send EVEMails, and using standard POP accounts to receive/send new EVEMails/Replies.
Setup
This project contains three files you need to worry about
- checkMail.php - This script should be added as a cron job once you have correctly configured evemailbridge. It checks your EVEMails and associated POP-IN account for new mails.
- config.php - This script contains configuration information for evemailbridge
- sql/checkMail.sql - This SQL file contains the structure for the mail table
In order to run this script successfully you will need to do the following
- Create two POP accounts, one to receive new EVEMails, and one to receive replies you make via this previous POP account.
- Add the POP settings to config.php, along with your INGAME login details
- Create an SQL user and DATABASE, execute the included SQL script on the database and add SQL login details to the config.php script
- Create a cron job that runs checkMail.php (hourly, half hourly, whatever)
Sending / Receiving Mails
Receiving emails in your POP account from characters connected to your EVE account. The POP account that will receive the mails is defined in config.php by the variable $sendToAddress.
Sending mails to EVE characters works in two ways:
- To send a reply to an EVEMail received in your email adress specified in $sendToAddress, simply reply to the email as you would a normal POP email - however be sure to leave the subject AS-IS, or at least it retains the string [evemail:<EVEMail id (numeric)>], as this will link determine the character to send the reply to.
- To send a new EVEMail, compose an email with a subject beginning with the text "[evemail:<to character>:<from character>]", where "to character" is the EVE character you wish to send the EVEMail to, and "from character" is the name of the character you wish to send the EVEMail from. NOTE, that the "from character" must be in the account you have specified in the config file.
End Note
Please feel free to open issues for suggestions etc. I've only spent a few hours on this, so it is by no means complete. My ingame name is Seidr if you wish to contact me.
There is a repo at http://bitbucket.org/seidr/evemailbridge/. Feel free to test, open issues, enhancement requests etc.
If evemailbridge stops working, it's likely due to the regexes used are no longer valid, and will be fixed asap.
Enjoy, Seidr
p.s. 3rd API key for EVE Gate access instead of ingame login, and more Exotic Dancers please!
|
inza onoa
|
Posted - 2010.06.24 19:22:00 -
[2]
I endorse this.
|
darius mclever
|
Posted - 2010.06.24 21:07:00 -
[3]
i think scraping html on evegate to control it was violating the TOS. you are supposed to use the API for getting the data.
|
Ramtam
|
Posted - 2010.06.24 21:29:00 -
[4]
Edited by: Ramtam on 24/06/2010 21:29:03 .
|
Seidr
Cruentus Invicta
|
Posted - 2010.06.24 21:34:00 -
[5]
Originally by: darius mclever i think scraping html on evegate to control it was violating the TOS. you are supposed to use the API for getting the data.
There is no mention of scraping, automated visits, scripting or other methods purportrating to being human when visiting the web site of EVE Online of EVE Gate in the ToS. If CCP explicitly do not want this kind of activity going on, they have hidden their wishes well - and this information is not available via the API, at least not in full. Mail titles may be available, but full mail body, no.
|
Xeross155
Minmatar Fusion Death Inc. Intrepid Crossing
|
Posted - 2010.06.24 21:41:00 -
[6]
Interesting, think I'll set this up.
So you use cURL to login to EVEGate and fetch/send mails right ? --------------------------------------------- Xeross' ventures into EVE |
Seidr
Cruentus Invicta
|
Posted - 2010.06.24 22:02:00 -
[7]
Originally by: Xeross155 Interesting, think I'll set this up.
So you use cURL to login to EVEGate and fetch/send mails right ?
That's right. The default is to only check the first page of mails, so that you don't chug through ALL your mails every time the script is run. I'd advise leaving it that way, lest the hamsters bite.
|
Catari Taga
Centre Of Attention Rough Necks
|
Posted - 2010.06.24 23:15:00 -
[8]
Edited by: Catari Taga on 24/06/2010 23:16:13 Nice product, we had been thinking about implementing something like this for my corp but the lack of API/requirement of game login data made it unfeasible for us.
Originally by: darius mclever i think scraping html on evegate to control it was violating the TOS. you are supposed to use the API for getting the data.
There was some dev post making vague threats about future ToS changes a while back but that never happened and they have no measures in place to prevent you from crawling the site, either (wtb corp memberlists?). Also the API is always read only, i.e. you will never be able to send mails through it. |
Seidr
Cruentus Invicta
|
Posted - 2010.06.25 09:03:00 -
[9]
Edited by: Seidr on 25/06/2010 09:04:14
Originally by: Catari Taga Edited by: Catari Taga on 24/06/2010 23:16:13 Nice product, we had been thinking about implementing something like this for my corp but the lack of API/requirement of game login data made it unfeasible for us.
Originally by: darius mclever i think scraping html on evegate to control it was violating the TOS. you are supposed to use the API for getting the data.
There was some dev post making vague threats about future ToS changes a while back but that never happened and they have no measures in place to prevent you from crawling the site, either (wtb corp memberlists?). Also the API is always read only, i.e. you will never be able to send mails through it.
Catari, see this repo: http://bitbucket.org/seidr/evecorpmembers
It will allow you to retrieve corp member lists from characters on an EVE account.
|
Catari Taga
Centre Of Attention Rough Necks
|
Posted - 2010.06.25 09:35:00 -
[10]
Originally by: Seidr Catari, see this repo: http://bitbucket.org/seidr/evecorpmembers
It will allow you to retrieve corp member lists from characters on an EVE account.
Oh thanks, I'm well aware of all the APIs that are out there, not sure where you misunderstood my post but all I meant was that we had decided against pooling login data for all corp members on the corp server (which would technically be against the EULA, too) to implement a corp-wide evemail <> IM (or in your case POP3) gate. --
Originally by: Zeke Mobius I swear the catholic church was faster at admitting the earth was round than CCP at fixing stuff.
|
|
Seidr
Cruentus Invicta
|
Posted - 2010.06.25 09:50:00 -
[11]
Edited by: Seidr on 25/06/2010 09:55:02 Edited by: Seidr on 25/06/2010 09:52:21 Haha, it's way too early for me. Of course there are API calls to get Corp members *facepalm*
Yeah, I agree CCP went the wrong way with the login for EVE Gate. While there are countermeasures to prevent against brute-force, so security is not such a huge concern, the requirement to use your REAL ingame login is a bit limiting.
The ideal way to go, as I mentioned, would be to have a third level API key, that gives access to the previous two levels, but also grants access and works as a login to EVE Gate. If there were such a thing, this would of been run as a service, not a stand-alone package.
This all should been open via API already to be honest (the receiving of mails at least). Maybe in the future, hey?
On another note, implementing a corp-wide EVEMAil option in this shouldn't be too hard, as the EVEMail SEND request allows for multiple recipients. My implementation of SENDING to EVE contacts currently only supports on recipient, but changing that will not be difficult. All you'd need to do then would be to provide a different header, say CORPMAIL or something to distinguish between types, and then the script could extract the member list, build a recipient list and send the mail. Of course.
|
Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.06.25 16:50:00 -
[12]
There was a pretty clear dev statement that automatically interfacing (scraping) with EveGate is forbidden and against TOS.
On the other hand I can understand you as a dev because it's outright stupid that EveGate itself does not use the APIs but obviously something different itself which even offers additional functionality over the regular APIs. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
Catari Taga
Centre Of Attention Rough Necks
|
Posted - 2010.06.25 17:11:00 -
[13]
Originally by: Amida Ta There was a pretty clear dev statement that automatically interfacing (scraping) with EveGate is forbidden and against TOS.
Yes but it was bull, read the TOS, there's nothing like that in there. |
Krathos Morpheus
Legion Infernal
|
Posted - 2010.06.25 19:43:00 -
[14]
Edited by: Krathos Morpheus on 25/06/2010 19:43:48
Originally by: Amida Ta There was a pretty clear dev statement that automatically interfacing (scraping) with EveGate is forbidden and against TOS.
No. He said it will be and TOS will (or could) change to amend that. I've seen no change yet.
EVEwatch Sidebar soon "It is the unofficial force ù the Jita irregulars. " |
Dr BattleSmith
PAX Interstellar Services
|
Posted - 2010.06.26 08:21:00 -
[15]
http://eve-mail.net/
|
Ramtam
|
Posted - 2010.06.27 02:00:00 -
[16]
Edited by: Ramtam on 27/06/2010 02:00:41 .
|
Seidr
Cruentus Invicta
|
Posted - 2010.06.27 02:05:00 -
[17]
I'm sorry, wait, no I'm not. Did you have anything interesting, or meaningful to add to this topic, or just a blatent SPAM from hell?
Does the service you(they?) provide give access to EVEMails...doesn't look like it.
|
Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.06.27 13:49:00 -
[18]
Originally by: Catari Taga
Originally by: Amida Ta There was a pretty clear dev statement that automatically interfacing (scraping) with EveGate is forbidden and against TOS.
Yes but it was bull, read the TOS, there's nothing like that in there.
I'm not sure which TOS and Eula you read. And I know that both of them are stupid anyways. But they DO both have clauses that rule something like that out. In fact the TOS actually forbids ANY third party-tools. I know this isn't handled by CCP this way, but this is a new kind of interfacing so I'd try to get an OK from CCP before releasing such thing. There are at least 5 clauses in TOS and EULA that likely forbid this concrete tool like 7A2, 7A4, 14, 21. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
Catari Taga
Centre Of Attention Rough Necks
|
Posted - 2010.06.27 14:49:00 -
[19]
Originally by: Amida Ta I'm not sure which TOS and Eula you read.
The Website terms of use as linked at the bottom of EVEgate. As stated in 14. of that agreement "This Agreement constitutes the full agreement between you and us related to the use of this Web Site", therefore other terms do not apply. I assume the clauses you referenced are in the TOS for the game? --
Originally by: Zeke Mobius I swear the catholic church was faster at admitting the earth was round than CCP at fixing stuff.
|
Dr BattleSmith
PAX Interstellar Services
|
Posted - 2010.06.30 08:22:00 -
[20]
Originally by: Seidr I'm sorry, wait, no I'm not. Did you have anything interesting, or meaningful to add to this topic, or just a blatent SPAM from hell?
Does the service you(they?) provide give access to EVEMails...doesn't look like it.
hissy fit anyone?
|
|
Gertrud ToD
Terrorists of Dimensions Electric Monkey Overlords
|
Posted - 2010.06.30 08:45:00 -
[21]
even with it being opensource i doubt that most possible users will bother reading the code, or even understand it, so its impossible for them to determine if this is actually using the login for crawling evegate only
It is a very bad idea to put in your eve login details anywhere else but the official ccp stuff, Dont do it! and i find it doubtfull at least to lower those concerns by providing software that requires you todo so.
besides, i dont think you are allowed to use evegate this way.
|
Amida Ta
German Mining and Manufacture Corp.
|
Posted - 2010.06.30 09:50:00 -
[22]
Originally by: Catari Taga
Originally by: Amida Ta I'm not sure which TOS and Eula you read.
The Website terms of use as linked at the bottom of EVEgate. As stated in 14. of that agreement "This Agreement constitutes the full agreement between you and us related to the use of this Web Site", therefore other terms do not apply. I assume the clauses you referenced are in the TOS for the game?
I'm no layer, but: A) Website terms of services are void in europe anyways, so they don't matter. B) The terms are for the website and (possibly) not eve-gate.
So yes I am talking about the game EULA and TOS. Both are legally binding and they refer (in the points I mentioned) to a game *environment* which may well include eve-gate.
Besides that handing out your logindata to a third-party site is forbidden and likely just stupid. _________________________ EveAI.Live - The EVE-Online API/class library for .Net, C# and VB.Net |
Seidr
Cruentus Invicta
|
Posted - 2010.06.30 11:52:00 -
[23]
Originally by: Dr BattleSmith
Originally by: Seidr I'm sorry, wait, no I'm not. Did you have anything interesting, or meaningful to add to this topic, or just a blatent SPAM from hell?
Does the service you(they?) provide give access to EVEMails...doesn't look like it.
hissy fit anyone?
Yes - drunken hissy fit at that.
Originally by: Gertrud ToD It is a very bad idea to put in your eve login details anywhere else but the official ccp stuff, Dont do it!
This is intended to be run on a users own server, or local machine. I am not asking for anyones EVE details.
Originally by: Amida Ta Besides that handing out your logindata to a third-party site is forbidden and likely just stupid.
See above. The repo linked is where you download the source-code, to be run on your own machine/server.
This little experiment is intended for the tech-minded. It's not a very complicated script, and anyone with even a slim background in PHP should be able to see the only host being contacted is the EVE Gate site.
Use it, don't use it - I just wanted to share a script that I find a useful addition to EVE Gate, that imo should be available to users anyway (the ability to send-receive EVEMails out of game).
|
Zendoren
Aktaeon Industries
|
Posted - 2010.06.30 17:29:00 -
[24]
Edited by: Zendoren on 30/06/2010 17:30:14 And the CCP God said "Let there be spam", and he saw that it was not so Good!
Personally, I think you opened Pandora's box on this one, but if you did not make this program I'm sure someone else would have eventually.
|
Temar Radeik
Woopatang Primary.
|
Posted - 2010.07.01 00:02:00 -
[25]
i think the program is a good idea but a big security issue for the user regardless of if it your own server or not, fact is your storing your login in a file
I think CCP should do 1 of the Following
- Full Ability to Read Mails, with short cache useing API
- Alternative Login Details for EveGate
- Send us Emails your self
|
Dr BattleSmith
PAX Interstellar Services
|
Posted - 2010.07.01 04:38:00 -
[26]
1. They need to turn the clock back 12 months. 2. Sack the team responsible for EveGate. 3. Hire another team that knows what they are doing. 4. Release EveGate with OpenSocial, OpenID, oAuth for EveAPI etc.
oh and a contact system where you can categorise your contacts lol, you know.... like in 1979...
The whole release is a massive failure.
None of the things people really want to do are possible and as such ugly hacks like username/password sharing will result.
|
Femaref
Armageddon Day WE FORM VOLTRON
|
Posted - 2010.07.02 15:58:00 -
[27]
Originally by: Dr BattleSmith 1. They need to turn the clock back 12 months. 2. Sack the team responsible for EveGate. 3. Hire another team that knows what they are doing. 4. Release EveGate with OpenSocial, OpenID, oAuth for EveAPI etc.
oh and a contact system where you can categorise your contacts lol, you know.... like in 1979...
The whole release is a massive failure.
None of the things people really want to do are possible and as such ugly hacks like username/password sharing will result.
But it's still better than your sorry try, saving user details in plain text to a textfile on the webserver, readable by all the world. Job well done mate! (http://www.eveonline.com/ingameboard.asp?a=topic&threadID=1290505)
|
|
|
|
Pages: [1] :: one page |
First page | Previous page | Next page | Last page |