This project has moved and is read-only. For the latest updates, please go here.

Send Email

May 26, 2011 at 3:24 PM

Hi there,

I have been playing around with bizark and was trying to send emails with ShowMailClientAsync

Also when I MAPI.SendMail(M, True) I cant click on outlook, The  mouse is locked, I have to click on another program then back to outlook.

I'm new to .net and cant get it to work. Can you show me how with

I have

Private WithEvents M As New Message

Private Sub Button2_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button2.Click
        M.From = "Me"

End Sub

Private Sub M_SendAsyncCompleted(ByVal sender As Object, ByVal e As SendAsyncCompletedEventArgs) Handles M.SendAsyncCompleted
        If e.Status = SendStatus.Ok Then
            Label1.Text = "Sent"
           Label1.Text = e.Exception.Message
        End If
    End Sub

It does not show outlook just tries to send