Re: open incoming email

  • 14 years ago


    I have this code to send attachment ( with help doctormahdi it works perfect) 


    With MAPIMessages1

    .AddressCaption = "[email protected]com"
      .MsgIndex = -1
      .RecipDisplayName = "es: Microsoft Outlook"
      .MsgSubject = "xxxxxxxxx"
      .MsgNoteText = "xxxxxxxxx"
      .AttachmentPathName = namefile
       .SessionID = MAPISession1.SessionID
      .RecipAddress = "[email protected]com"
      .Send  True
     End With

    is it posible with some code to do this? to check if i have email and if i have to opening  the attacment ?

    ( i want with one button to do all of this with out opening the outlook express)

Post a reply

No one has replied yet! Why not be the first?

Sign in or Join us (it's free).


Why not write for us? Or you could submit an event or a user group in your area. Alternatively just tell us what you think!

Our tools

We've got automatic conversion tools to convert C# to VB.NET, VB.NET to C#. Also you can compress javascript and compress css and generate sql connection strings.

“We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil.” - Donald Knuth