473,480 Members | 5,041 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

server side script to automatically extract data from new email.

6 New Member
I'm brand new to server-side scripting. I don't even know if javascript can do this.

I would like a script running on my server to periodically login to and check my email account and each time it finds a new message with a particular identifying subjectline, it should extract the body of the message into a text variable and append it to an existing file already on the server.

I can handle the parsing and the appending, but I don't know how to have the server script automatically check and extract data from an email.

If javascript isn't the right tool for this then what is?

Thanks,
Tim
Aug 7 '07 #1
2 1824
acoder
16,027 Recognized Expert Moderator MVP
Welcome to TSDN!

You can't do this with Javascript. You may be able to do it with a server-side language, but I'm not sure. Which server-side language are you using?
Aug 7 '07 #2
tgmcnaughton
6 New Member
Thanks for the reply.
Let me explain my goals more explicitly. I have a javascript running on a page hosted by googlepages at:
http://tgmcnaughton.googlepages.com/map2.htm
It uses the google map api to draw a map and plot a marker at a particular latitude and longitude.

I have a GPS device which sends emails to my gmail account containing in the body a string of the form A3402.40611712.29122514400 which is the current location of the device.
I want to have the script periodically check for new messages from the sender: xxx@airmessage.net, extract the string from the body and break it into the latitude (34.02406) and the longitude (-117.12291) and a timestamp (22:51:44) and assign the variables lat and lon to be the new values to redraw the map and marker. I can do the parsing and variable assignment; I need help with the method of accessing the email account.

Does this constitute server-side scripting? If JavaScript cannot do this, then what language would I use?
Thanks very much,
Tim
Aug 8 '07 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

4
1936
by: Rene Aube | last post by:
Hi everyone, I'm incharge of updating the stats on a chl hockey teams Web Site. I would like to know if there is a way (javascript) to be able to save the content of the CHL Statistics WebPage...
4
1702
by: Support | last post by:
Hello: I wrote a vb6 "client-side" ActiveX Component that will extract the user's network login. Now I want to be able to do some server-side work with this info, and it would be great if I could...
3
3984
by: Kurita Kinoshita | last post by:
I'm trying to find a way to have a script communicate with a server without having to load a new page. The idea is to have the server act as a simple wrapper for a database, letting the client do...
4
2442
by: Prodip Saha | last post by:
Dear ASP.NET Gurus, I have a TextBox control with AutoPostBack set to true to execute the server scripts. I also, added some client script for validation.What I want is--execute the client script...
3
2405
by: interuser | last post by:
Hi How can I prevent an event (eg button click) from happening from within page_load? The reason is that I want to make my existing application work for netscape, for which there are no client...
6
1469
by: Jerry Camel | last post by:
Basic Web Form... A few text boxes and a checkbox - and a card reader... The effect I want to accomplish is this: The basic credit card fields are there and can be filled out. But if the user...
2
6914
by: Jobs | last post by:
Download the JAVA , .NET and SQL Server interview with answers Download the JAVA , .NET and SQL Server interview sheet and rate yourself. This will help you judge yourself are you really worth of...
0
7040
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
6905
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
1
6736
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5331
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
1
4772
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...
0
4478
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
2994
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
2980
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1299
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.