Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

How to attach several emails to form to open in Outlook?

Posted on 2012-03-18
3
Medium Priority
?
261 Views
Last Modified: 2012-03-21
I have a form that open and populates an Outlook email from vb.net.  How do I include a button to add attachments to the email?  They need the ability to "add more attachments."
0
Comment
Question by:Kevin Smith
  • 2
3 Comments
 
LVL 83

Accepted Solution

by:
CodeCruiser earned 2000 total points
ID: 37735056
On your form? Provide a way of adding files to list. Use listbox and a button which shows the Open File dialog. Once you have pathes of all files, use the Attachments.Add method to add each file.
0
 

Author Comment

by:Kevin Smith
ID: 37735280
So how do I do that?
0
 

Author Comment

by:Kevin Smith
ID: 37735292
Okay, did that (ha).  I did 5 different text boxes and five different buttons...is there a better way than have to do it manually?  What if they wanted to add 6 files?  Is there an "add another file" method?
0

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article will help to fix the below error for MS Exchange server 2010 I. Out Of office not working II. Certificate error "name on the security certificate is invalid or does not match the name of the site" III. Make Internal URLs and External…
Today as you open your Outlook, you witness an error message: “Outlook is using an old copy of your Outlook Data File…”. Probably, Outlook is accessing an old OST file.
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…
Whether it be Exchange Server Crash Issues, Dirty Shutdown Errors or Failed to mount error, Stellar Phoenix Mailbox Exchange Recovery has always got your back. With the help of its easy to understand user interface and 3 simple steps recovery proced…

773 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question