How to read outlook mails for a particular user and store that mail description in a excel/notepad


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting How to read outlook mails for a particular user and store that mail description in a excel/notepad
# 1  
Old 11-06-2011
How to read outlook mails for a particular user and store that mail description in a excel/notepad

My requirements are :-
Remote connection to the another server with log in credential.
Read the mail from a particular user with date,subject and contents and
store these data in XLs with consecutive columns (date,subject and contents).

Mail that XLs to multiple user those are in a mailing list.
# 2  
Old 11-06-2011
What have you tried so far? Where are you stuck? We're here to help with problems, not do your work for you. If you can't do it yourself, or are unwilling to do so, please hire a freelancer instead.
# 3  
Old 11-07-2011
Hi pludi,
Thanks for a reply, I'm stuck in below mentioned thing.........
can u suggest me what should i do
1-Read the mail from a particular user with date,subject and contents and
store these data in XLs with consecutive columns (date,subject and contents)


Thanks,
ranjan001
# 4  
Old 11-07-2011
I can give you suggestions on how to approach this task, but I can't give you a complete script.

The basic flow would be like this (in pseudo code)
Code:
open imap(s) connection to exchange server
login
select inbox
open local file for writing
request listing of all email elements
foreach element
    get date, subject, body from element
    write "date;subject;body" to local file
close local file
logout
close imap connection

Everything else depends on the language you choose. Personally, I'd user Perl or Python, but it can also be done in bash or C.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Linux

Send mail to outlook

Hello Guys, I have a requirement to send an email to outlook from unix script. I have used the below stuff to send an email and it worked on machine A but not on machine B. Please find their versions. Machine A ) Linux xxx 2.4.9-e.40enterprise #1 SMP Thu Apr 8 16:43:01 EDT 2004 i686 unknown... (1 Reply)
Discussion started by: srikanthbiradar
1 Replies

2. UNIX for Advanced & Expert Users

How can I send a mail from my outlook or other mail accounts to UNIX server?

Hi all, I want to send a mail for my business needs from outlook account to an unix server (HP-UX) but I don't send any mail. While I can send from the unix server to my outlook account, I can't send from outlook to unix. How can I achieve this ? How can I send a mail from my outlook or other... (2 Replies)
Discussion started by: igelegin
2 Replies

3. UNIX for Advanced & Expert Users

Accessing outlook mails from unix

Hi, For a requirement in my project, i need to implement code in unix such that unix checks whether the necessary mails from a particular client is received in outook inbox. Note that, i ve to check whether that particular mail has got any attachment too.. Please tell me whether this is... (0 Replies)
Discussion started by: nazeembenazir
0 Replies

4. UNIX for Advanced & Expert Users

need to configure mail setting to send mail to outlook mail server

i have sun machines having solaris 9 & 10 OS . Now i need to send mail from the machines to my outlook account . I have the ip adress of OUTLOOK mail server. Now what are the setting i need to do in solaris machines so that i can use mailx or sendmail. actually i am trying to automate the high... (2 Replies)
Discussion started by: amitranjansahu
2 Replies

5. AIX

Description Graph excel NMON

Bonjour, Après avoir découvert Nmon puis la macro excel, je souhaite comprendre la description de graphe _________________ SYS_SUMM CPU% ??? IO/sec ??? _________________ CPU_ALL User% ??? Sys% ??? Wait% ??? _________________ DISK_SUMM Disk Read KB/s = Lecture disk en kilo bytes... (6 Replies)
Discussion started by: stephane99
6 Replies

6. UNIX for Dummies Questions & Answers

UNIX mail to Outlook 2003

I'm trying to move a users multiple folders (archieved email) from a Solaris UNIX system to Outlook 2003. The user accesses the mail via ELM and folder are kept on his home drive, not under /var/mail. I was told I can use either IMAP and/or POP3 to connect to the UNIX server from outlook and just... (1 Reply)
Discussion started by: rpennell
1 Replies

7. Shell Programming and Scripting

How to send a mail in unix--Please read the description

Hi frnds, I want to send 3 csv files as attachement in unix server how do i do this. Following is the steps which i need to follow: 1.Shell script sets the environment variables 2.Shell script calls a C++ executable NOTE:This executable will generate 3 csv files 3.After the... (2 Replies)
Discussion started by: electroon
2 Replies

8. Shell Programming and Scripting

problem sending mail to outlook

i'm a avid fan of making the output of my scripts look pretty. so as a result i put in my scripts a lot of lines that are formed by either ****** or ======= now, outlook seems to have a problem with that. it always removes something that it calls "line breakers" from the emails my scripts send... (5 Replies)
Discussion started by: Terrible
5 Replies

9. UNIX for Dummies Questions & Answers

Does Mailx store the mails sent

Hi, I use mailx in a shell script to mail a message to the users. i wanted to know if mailx stores the mail that it sends? for eg in microsoft outlook all mails sent get stored in the outbox. is there such a facility with mailx? if not how i can do this so that for every mail sent, a backup... (6 Replies)
Discussion started by: munira_johar
6 Replies

10. UNIX for Dummies Questions & Answers

Unix to MicroSoft Outlook Mails

I want to send a text file from Unix as an attachment to a Microsoft Outlook address. I have tried the 'elm' command which does this. But it is in an interactive mode. I want this to be automatically done by a program. Is there any other way to this? (3 Replies)
Discussion started by: Deepali Potnis
3 Replies
Login or Register to Ask a Question