Email Server
Email Server
Is it possible to write a program to receive email sent to your computer in order to process what it says in order to take an action. Like I could send an email to my computer with the words shutdown and then the computer would shutdown?
For anyone questioning what it is for is to speed up a program I wrote which tracks buses for arrival time. Sending an email from your phone, my computer would receive it, process the times, and then spit an email back.
For anyone questioning what it is for is to speed up a program I wrote which tracks buses for arrival time. Sending an email from your phone, my computer would receive it, process the times, and then spit an email back.
- Rook Zimbabwe
- Addict
- Posts: 4322
- Joined: Tue Jan 02, 2007 8:16 pm
- Location: Cypress TX
- Contact:
If I were you I would make a tiny server that would only take a certain command that you can access because you know what port address to send the command at!
Then you only have to send that command from a tiny KILLSWITCH program and you can put multiple computers in this listing and kill one or all etc.
Then you only have to send that command from a tiny KILLSWITCH program and you can put multiple computers in this listing and kill one or all etc.
Hello,
This certainly sounds like something I am developing for the BlackBerry platform. A type of "push information service". I write code in Java, but am only experienced in developing for BlackBerry, so my code might be useless for you even if your smartphone supports Java.
What I have already, a proof of concept, is an application with programmable interface to download/fetch any data from the Web. In other words I can simply launch the application and in a matter of seconds, get the arrival times of buses and view them directly without waiting for an e-mail. Does this sound like something you might benefit from?
Your current problem is not really the website's mail server, it's the smartphone. You do not have a way to configure push e-mail, do you? Without push e-mail, you will ALWAYS have to wait.
Another option, maybe you want to subscribe for an unlimited data plan and simply bookmark the website with the arrival times for buses and use your smartphone's browser to get the information you need.
Running out of ideas
This certainly sounds like something I am developing for the BlackBerry platform. A type of "push information service". I write code in Java, but am only experienced in developing for BlackBerry, so my code might be useless for you even if your smartphone supports Java.
What I have already, a proof of concept, is an application with programmable interface to download/fetch any data from the Web. In other words I can simply launch the application and in a matter of seconds, get the arrival times of buses and view them directly without waiting for an e-mail. Does this sound like something you might benefit from?
Your current problem is not really the website's mail server, it's the smartphone. You do not have a way to configure push e-mail, do you? Without push e-mail, you will ALWAYS have to wait.
Another option, maybe you want to subscribe for an unlimited data plan and simply bookmark the website with the arrival times for buses and use your smartphone's browser to get the information you need.
Running out of ideas

thanks, but on the wrong track... I want to utilize any phone with text messaging to use the service. Text the stop your at, and then a text comes back with the bus times. Its for a large range of people, not everyone has an unlimited internet plan.
Your idea does sound great though.
Right now my program allows you to send a text message to an email address. My web server (through cpanel) forwards the email to a PHP script. The script than sends an email to the from address, which really sends a text message back to the phone.
Your idea does sound great though.
Right now my program allows you to send a text message to an email address. My web server (through cpanel) forwards the email to a PHP script. The script than sends an email to the from address, which really sends a text message back to the phone.
-
- New User
- Posts: 9
- Joined: Tue Oct 25, 2005 8:47 pm
- Contact:
Re: Email Server
What you need is the whole SOURCE CODE of your operating system!!!Matt wrote:Is it possible to write a program to receive email sent to your computer ... would shutdown?
So for example let's talk about a 100 000 lines personal operating system, with FULL source code. It would be very possible that someone helps you to add this SHUTDOWN with email event...
Groups lower your IQ
Re: Email Server
? ...RemyVincent wrote:What you need is the whole SOURCE CODE of your operating system!!!Matt wrote:Is it possible to write a program to receive email sent to your computer ... would shutdown?
So for example let's talk about a 100 000 lines personal operating system, with FULL source code. It would be very possible that someone helps you to add this SHUTDOWN with email event...
-
- New User
- Posts: 9
- Joined: Tue Oct 25, 2005 8:47 pm
- Contact:
-
- Enthusiast
- Posts: 469
- Joined: Sun Mar 16, 2008 9:18 am
Re: Email Server
If you're using Outlook, you can set it to execute an app (yours to shutdown the PC) if keywords are matched in emails.Matt wrote:Is it possible to write a program to receive email sent to your computer in order to process what it says in order to take an action. Like I could send an email to my computer with the words shutdown and then the computer would shutdown?
Otherwise, try this -> http://www.runtime.org/remotebymail.htm
-
- New User
- Posts: 9
- Joined: Tue Oct 25, 2005 8:47 pm
- Contact:
CH DAY
Outlook is so good, you know, i have used outlook dozen of times... and i was coding at the same time!, 80% of the received emails were automatic emails from MY SOFTWARE, ... I swear i was coding at the same time, with no limitation because of the dozen of emails received with outlook each day ...
So with outlook it is very possible to receive those SHUTDOWN EMAILS, ... but you could also receive dozen of other automatic emails, ... EACH DAY ...
So with outlook it is very possible to receive those SHUTDOWN EMAILS, ... but you could also receive dozen of other automatic emails, ... EACH DAY ...
Groups lower your IQ
-
- Enthusiast
- Posts: 469
- Joined: Sun Mar 16, 2008 9:18 am
Why too slow? It's no different to receiving emails any other way. You do know you can set Outlook to check for mail every 1 minute? Or do you want it faster than that?Matt wrote:Outlook and that program would be too slow receiving through imap or pop. It needs to be faster... those solutions are no different then how I have it now.

Matt wrote:I could send an email to my computer with the words shutdown and then the computer would shutdown?

I see no problem here.
Hi maybe you didn't read what I really wanted done 
You send a text message with your location (a bus stop) and the program calculates when the next bus comes and then sends a text message back with the bus arrival time. It works right now fine by allowing my emails on my server to be forwarded to a script (using cpanel). However there does still seem to be a delay with the server receiving the email. That's why I was wondering if there is a way to create a email receive server type application.

You send a text message with your location (a bus stop) and the program calculates when the next bus comes and then sends a text message back with the bus arrival time. It works right now fine by allowing my emails on my server to be forwarded to a script (using cpanel). However there does still seem to be a delay with the server receiving the email. That's why I was wondering if there is a way to create a email receive server type application.