473,788 Members | 2,725 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Opening an email and its attachment programmaticall y

Hi,

I am fairly new to .Net and would appreciate some help.

How do I open an email and its attachment programmaticall y.

Once I have done this, is it a straightforward operation to then just save
the attachment to a set location?

Many thanks for pointing me in the right direction.

Polly Anna
Nov 23 '05 #1
4 2643
I found this site, but I don't known if this going to work.

http://visualbasic.ittoolbox.com/blo...try.asp?i=5855

"PollyAnna" wrote:
Hi,

I am fairly new to .Net and would appreciate some help.

How do I open an email and its attachment programmaticall y.

Once I have done this, is it a straightforward operation to then just save
the attachment to a set location?

Many thanks for pointing me in the right direction.

Polly Anna

Nov 24 '05 #2
Hi Miguel,

the site looks very good indeed. Thank you.

It answers my question about how to open and read an email programmaticall y
- thank you.

Do you know how you can take the email attachments and either open them or
save them to a set location?
Thank you,

Polly Anna

"Miguel Arenas" wrote:
I found this site, but I don't known if this going to work.

http://visualbasic.ittoolbox.com/blo...try.asp?i=5855

"PollyAnna" wrote:
Hi,

I am fairly new to .Net and would appreciate some help.

How do I open an email and its attachment programmaticall y.

Once I have done this, is it a straightforward operation to then just save
the attachment to a set location?

Many thanks for pointing me in the right direction.

Polly Anna

Nov 24 '05 #3
In the spanish newsgroups Jorge Serrano sent me other samples here is the
address.

http://www.gotdotnet.com/Community/U...D-62B2235FC4CA

I hope this can Help you.

"PollyAnna" wrote:
Hi Miguel,

the site looks very good indeed. Thank you.

It answers my question about how to open and read an email programmaticall y
- thank you.

Do you know how you can take the email attachments and either open them or
save them to a set location?
Thank you,

Polly Anna

"Miguel Arenas" wrote:
I found this site, but I don't known if this going to work.

http://visualbasic.ittoolbox.com/blo...try.asp?i=5855

"PollyAnna" wrote:
Hi,

I am fairly new to .Net and would appreciate some help.

How do I open an email and its attachment programmaticall y.

Once I have done this, is it a straightforward operation to then just save
the attachment to a set location?

Many thanks for pointing me in the right direction.

Polly Anna

Nov 25 '05 #4
Hi Miguel,

Thank you very much for your help - it's been invaluable.

Kind regards,

Polly Anna

"Miguel Arenas" wrote:
In the spanish newsgroups Jorge Serrano sent me other samples here is the
address.

http://www.gotdotnet.com/Community/U...D-62B2235FC4CA

I hope this can Help you.

"PollyAnna" wrote:
Hi Miguel,

the site looks very good indeed. Thank you.

It answers my question about how to open and read an email programmaticall y
- thank you.

Do you know how you can take the email attachments and either open them or
save them to a set location?
Thank you,

Polly Anna

"Miguel Arenas" wrote:
I found this site, but I don't known if this going to work.

http://visualbasic.ittoolbox.com/blo...try.asp?i=5855

"PollyAnna" wrote:

> Hi,
>
> I am fairly new to .Net and would appreciate some help.
>
> How do I open an email and its attachment programmaticall y.
>
> Once I have done this, is it a straightforward operation to then just save
> the attachment to a set location?
>
> Many thanks for pointing me in the right direction.
>
> Polly Anna

Nov 28 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
2636
by: Alexander | last post by:
To all, A tall order, but any help on any segment of this would be appreciated: I have a table that needs to be populated with information contained in an email attachment. 1. Is it possible for Outlook to "notify" Access that an email has been received?
6
13457
by: Null Reference | last post by:
Anybody here who can explain or point me to a link ? I wish to create a blank MS Access DB file programmatically using C# . Thanks, nfs
7
2580
by: Ajit | last post by:
Is there anyway i can download/check EMail and/or Emails with attachments Using VB.Net The application i am working on need to download attachments and update database
0
1238
by: johnb41 | last post by:
I can successfully open up a user's default email client and create a new email with this: proc.Start("mailto:aaa@bbb.com?subject=Test) But i need to add an attachment to the email. I know mailto does not include an attachment argument. But is there any other way to add an attachment? The system.web.mail namespace can do emails with attachments, but i
1
1281
by: Parasyke | last post by:
Does anyone know how to programmatically assign a name to an email attachment with the date and sender being part of the attachment's name? I can get this info into the subject line with no problem. Here's my block of code: DoCmd.SendObject acSendReport, "MyReport", acFormatRTF, _ "ECallo...@juggernaut.com", , , _ "MyReport: " & Format(Date, "mm/dd/yyyy") & " """ & Forms!MyForm.Mytextbox & """", , False
2
32004
by: Hanika | last post by:
Going on 3 days and I am wodnering if I am just not looking in the right place. If anyone nows how to do this please please help me. I am developing a Windows form application using VB.NET 2005. I have a PDF file that I want to attach to the local default email client and display it so that the user can enter the rest of the information. Like one would see using the right-click Send To Mail Recipient. I tried using MailTo. But the...
0
3795
by: aarthiraaj | last post by:
In my user screen I have view link, if I click this link it will go to servlet and open one word document. It is opening properly, but while opening the attachment it generate one dialog box like file Open, Save or Cancel button, if I click open after that it is opening the document. But my query is it should not display this dialog box, once I click the link it should open the document automatically using HttpServletResponse. Can any one help...
4
1839
by: John | last post by:
Hi Outlook 2003 connected with exchange server. A user is logged in to the client pc. Is it possible to programmatically get the user's email address that is set on the 'Email Addresses' tab of the exchange server? Thanks
6
10640
by: dlblack | last post by:
I am using the following code to send emails with attachments from Access using Outlook. The code works fine if Outlook is already open and emails are sent as expected via Outlook. When Outlook is closed, data is saved to the database but the email is not sent. Here is the the code. If anyone has suggestions on how I can get Outlook to open before trying to send the email I would appreciate it. Private Sub Approve_Click() On Error GoTo...
0
9498
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10366
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10173
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10110
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9967
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8993
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6750
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5536
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
3674
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.