Free Microsoft Outlook Resources & Whitepapers

Saving all incoming mails as textfiles

Hi,

I need to catch all incoming messages sent to a given emailaddress and save the contents as text files (1 file per email, preferably) for further processing by other programs. The emails do not hold attachments.
Seems like this is a task for Transport Rules; but I'm not quite sure.
Any help on this will be much appreciated.
Thanks in advance.


Post your answer or comment

comments powered by Disqus
Hi there

I am looking for a way to save all incomming emails as well as emails I send to automatically be saved into a incomming and sent folder on my harddrive.

I know file names can be an issue if file name already exists, so I'm assuming it would be best to date and time stamp the file name.

I found this link http://www.vbaexpress.com/kb/getarticle.php?kb_id=875 , but it seems to be once off. I want a macro that will run every time a mail is sent or received.

Thanks in advance
Warren

I noramlly read all incoming mail as text but would like to select HTML for
mail received from specific senders, e.g. Newspapers. Can this be done in
Outlook 2007?

regards,

Beemer

I noramlly read all incoming mail as text but would like to select HTML for
mail received from specific senders, e.g. Newspapers. Can this be done in
Outlook 2007?

regards,

Beemer

Hi,

Our Helpdesk want to have all incoming mail as plain text to one specific mailbox. Reason is that they want all pictures as attachment instead of having the picture in the message body. How do I solve this for them? It's just one mailbox that this should effect!

Cheers Markus

I need to send all incoming mail arriving from a specific Domain, i.e.
@domainname.com to a single folder where the "name" prior to the @ sign can
be any set of characters. Any ideas as to how to set up the rule?
--
johnm in atlanta

as above, all incoming mail goes directly into deleted folder instead of
inbox. Why? and how to correct please

We are trying to setup students who graduate from our school so that
any incoming mail will be forwarded to a new address and if they have
not setup a forwarding address, their incoming mail will be deleted
with an out of office reply sent to the sender indicating that the
user is no longer a student and has not setup forwarding. Graduated
students would also not have OWA enabled as well. The one thing that
seems hard to do is to create a rule that will move all incoming mail
to the deleted items folder. Does anyone know of how to have all
incoming mail subject to a rule to move to deleted items?
Thanks,
Mario

We are trying to setup students who graduate from our school so that
any incoming mail will be forwarded to a new address and if they have
not setup a forwarding address, their incoming mail will be deleted
with an out of office reply sent to the sender indicating that the
user is no longer a student and has not setup forwarding. Graduated
students would also not have OWA enabled as well. The one thing that
seems hard to do is to create a rule that will move all incoming mail
to the deleted items folder. Does anyone know of how to have all
incoming mail subject to a rule to move to deleted items?
Thanks,
Mario

Hello all!

I am using the below code to save all incoming emails as an XML file. The
problem is that a new incoming email overwrites the previous one. What I'd
like to do is name the XML file as the subject line of the incoming email.
Would someone please help me?

Sub saveemail(myItem As Outlook.MailItem)
myItem.SaveAs "c:mailtest.XML", olXML
End Sub

Matt

Hello all!

I am using the below code to save all incoming emails as an XML file. The
problem is that a new incoming email overwrites the previous one. What I'd
like to do is name the XML file as the subject line of the incoming email.
Would someone please help me?

Sub saveemail(myItem As Outlook.MailItem)
myItem.SaveAs "c:mailtest.XML", olXML
End Sub

Matt

hi,

here is what i want, i wish that all incoming mails to MS Exchange 2003 be also duplicated to another mail server.
example:

user@mydomain.tld 's mail is received by MS Exchange 2003, it then sends a copy to user@backup.mydomain.tld

how do i do such thing in MS Exchange? is there any facility to do this? Thanks

I have a 3rd party pop3 connector set up to retrive all my incomming mails from an ISP Catch All box. The address of the catch all is postmaster@domain.com . What happens is when the mail pulls down it will deliver the mail sent to the domain to the correct e-mail address, but it will also retain a copy of ALL incomming mail in the account that is associated with the address postmaster@domain.com . If I delete postmaster@domain.com from my account in AD, All mail will bounce back to the sender saying "mail could not be delivered to postmaster@domain.com" and will still be sucessfully delivered to the users boxes.

Does anyone know how to alter this behavior? I dont' want to retain the mail,but I dont' want outside contacts getting NDRs either. I have tried more than one pop3 connector, and unfortunately I don't now if it started when we changed our ISP or our Exchange from 5.5 to 2003 because both took place a day apart.

I have a need to forward all incomming mails of a specific mailbox to a distribution list. The distribution list contains around 300 contacts, based on external email addresses, that are frequently updated. The contacts and the distribution list are stored in a public folder.
How can I manage the auto-forward, in real time, of all new mails to this distribution list ?

JFW

Hello,

I need to intercept all incoming mail for one domain, run its message contents against a VB.NET script, then delete the message.

Basically the script stores the mail contents in a database after some business rules have been applied to it.

I figured I need to program against some "OnEvent" sink, but I am not sure which one, or how to go about this.

Is there a company I can outsource this work to, or does anyone on this forum have experience programming with OnEvent Sinks for incoming mail?

Thanks,
Frank Orozco

Hi All,

I've just taken over a site and the client did have all incomming mail
delivered to a public folder, any idea how this may have been done?

Exchange 2000...

Thanks in advance.

Wayne Taylor

hello,

we'd like to send a reply message to all incoming mails. We don't want to configure it for every user, it should be a general rule with the same text for everyone. Any chance to do this?

Hi,

We have a customer who has an Exchange 2003 server, that is configured in a way, so that a copy of all incomming mails also get delivered to the Inbox of one particular user. They asked us to change this.

On Exchange 2003 Users admin console, we see nothing described in the 'delivery options', where you could actually define a mailbox to deliver a copy of each message of that mailbox to antoerh mailbox. So it was configured in some other way.
When we do message tracking on a message, we only see it delivered into the mailbox of a certain user, and not to that routed mailbox. If you configure delivery options, like described in the previous paragraph, this would show you in message tracking that it gets delivered to the recipient and also forwarded or a copy to another mailbox.

Has anyone done this in the past, a similar config? Can this be done by policy?

Thanks, Pieter.

We have great spam controls at our main server. I would like to enable
images on all incoming mail instead of having to individually make each
domain or sender a safe sender.

How can I create an OL 2002 rule to move all incomming mail from a
certain domain?

Example:
sales@ebay.com
support@ebay.com
bob@ebay.com

I'd like to have one rule to move all these to the ebay folder.
*@ebay.com doesn't seem to work. Any suggestions?

Thank you,

Don

How can I save all my contacts as vcards all at once, instead of doing it
individually?

I would like Outlook to save all incoming email addresses so that I can just
type in the persons "Cover" name to send them Email, like in Outlook
Express.

Is this possible? If it is not, why not? Is Microsoft missing out on
something good here?

Thanx, Dave West
WWW.WestLabs.COM

How can I create an OL 2002 rule to move all incomming mail from a
certain domain?

Example:

Dear All,
              
I have two requirements:

Requirement 1:

My boss needs a copy of all outgoing mails sent by each and every user to a particular id.

Requirement 2:

similarly he needs a copy of all incoming mails to the same id.

                I can very well make use of the feaure "forward with copy" in AD user properties to accomplish the second requirement.
               please advice me as to how can i give a solution for the first requirement.

Warm Regards,
Guru.

Hi,

I'd like to know if there's such a plugin that will allow forwarding all new
incoming mail to another address but based on the schedule such as 9am to
5pm Mon to Fri.

Trying to set up an user usually away from the computer, but carry a
cellphone all the time. With this setup, he can be alerted as soon as
someone emails him. With the text messaging service, he may not see the
whole message, but at least he knows he has messages waiting.

Thanks for your help.


Not finding an answer? Try a Google search.