|
-
Jul 17th, 2006, 07:41 AM
#1
Thread Starter
New Member
How do I automatically export emails into CSV and send out reply?
Hi,
I need to write a VB script that will automatically check emails in an outlook email account, send a reply to each one (generic message each time) and then save the sender's email to a csv list stored on a specified path (eg <\\somedir\>).
This script is required to manage unsubscribes from a web page-based competition (so there is an email address that users email to request to unsubscribe from the competition and I need all of those emails replied to and the senders email stored in the csv for processing).
Anyone know how to do this?
Any help much appreciated,
Cheers,
Fred
-
Jul 17th, 2006, 12:13 PM
#2
Re: How do I automatically export emails into CSV and send out reply?
Do you have VB6 or VB.net?
your best bet would be to write an Outlook Add-in.. and Add-in can catch all sorts of events and do everything needed without having the security prompt appear.
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jul 17th, 2006, 02:02 PM
#3
Thread Starter
New Member
Re: How do I automatically export emails into CSV and send out reply?
Hi,
I have VB6. Add-in sounds like a good idea. Not sure where to start though. ave you got any pre-canned code I can adapt?
Also, how do I use add-ins for outlook, is there a good FAQ you could point me to?
Cheers,
Fred
-
Jul 17th, 2006, 02:56 PM
#4
Re: How do I automatically export emails into CSV and send out reply?
google it.. there are lots of samples out there..
but to start:
Start a new project.. pick Add-In
then switch to the Connect.dsr (object view)
and select Outlook in the application
and Startup in the load...
here is a sample project that copies the domains to the junk sender and deletes
http://www.freevbcode.com/ShowCode.Asp?ID=5937
but dig around.. there are lots.
if you need help.. we're here
JPnyc rocks!! (Just ask him!)
If u have your answer please go to the thread tools and click "Mark Thread Resolved"
-
Jul 17th, 2006, 04:39 PM
#5
Re: How do I automatically export emails into CSV and send out reply?
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
-
Jul 17th, 2006, 05:17 PM
#6
Thread Starter
New Member
Re: How do I automatically export emails into CSV and send out reply?
Cheers guys, I'll take a look at these tomorrow 
(11pm here)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|