Linux Format forums Forum Index Linux Format forums
Help, discussion, magazine feedback and more
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

automaticly print an email to a web page

 
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming
View previous topic :: View next topic  
Author Message
jonlewi5



Joined: Tue Mar 11, 2008 11:05 am
Posts: 93

PostPosted: Tue Apr 27, 2010 8:27 pm    Post subject: automaticly print an email to a web page Reply with quote

Hiya, im just looking for advice on where to start here.

Basicly, im a subscriber to a mailing list of a french hosting company, i do need to be able to read these posts and too be honest constantly having to translate 40 emails a day is getting a bit tedious, as you can imagine, so i want to basicly have a way of getting the email to a webpage and then use chrome as it automaticly translate it Very Happy

I currently have my server running centos which is used for web hosting and emails. What i would like to do is have a script which runs every 30 mins or so that checks my inbox (which is on the server) and have it copy the content into a html page in the /var/www directory....

Im really not to sure where to start so have setup a test server, so far im trying a terminal email client (cone) in the hope i can write a script to output the content into another file which to be honest really isnt going well Sad


Does anyone have any other suggestions as to how i could achieve this?

Thanks

Jon

-=EDIT=-

Well iv been working on this for a little while now, i have found a php script that allows me print emails into an RSS feed, not quite what i want, but its certainly a start Smile

For the record, the script im using is found HERE
Back to top
View user's profile Send private message
nelz
Site admin


Joined: Mon Apr 04, 2005 12:52 pm
Posts: 8467
Location: Warrington, UK

PostPosted: Tue Apr 27, 2010 11:09 pm    Post subject: Reply with quote

Do you have a GMail account? There is an email translator in Google Labs . Once enabled, emails in a language other than your default have a "translate me" button. you could set up your server to forward mails from this list to a GMail account and read them there. It saves messing around converting them to HTML, let Google take care of that for you.

http://www.googletutor.com/2009/06/09/translate-your-email-automatically/
_________________
"Insanity: doing the same thing over and over again and expecting different results." (Albert Einstein)
Back to top
View user's profile Send private message
jonlewi5



Joined: Tue Mar 11, 2008 11:05 am
Posts: 93

PostPosted: Wed Apr 28, 2010 12:32 am    Post subject: Reply with quote

Yeah i think im going to have to do that, thanks very much.

It just doesnt seem as fun Sad haha but at least itll work! thanks very much.
Back to top
View user's profile Send private message
graemef



Joined: Wed Apr 07, 2010 9:55 am
Posts: 8

PostPosted: Thu Apr 29, 2010 4:14 am    Post subject: Reply with quote

Not as much fun but you could look at squirrelmail, which basically does what you asked for.
Back to top
View user's profile Send private message
View previous topic :: View next topic  
Display posts from previous:   
Post new topic   Reply to topic    Linux Format forums Forum Index -> Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Linux Format forums topic RSS feed 


Powered by phpBB © 2001, 2005 phpBB Group


Copyright 2011 Future Publishing, all rights reserved.


Web hosting by UKFast