How can I send an e-mail within my program! All sugestion appreciated. Please also post the code if you suggest using a component!
Printable View
How can I send an e-mail within my program! All sugestion appreciated. Please also post the code if you suggest using a component!
Add the MAPI controls to a form and use code simular to this:
Good luck!Code:Private Sub SendEmail()
MAPISession1.SignOn
MAPIMessages1.SessionID = Me.MAPISession1.SessionID
MAPIMessages1.Compose
MAPIMessages1.RecipAddress = "[email protected]"
MAPIMessages1.RecipDisplayName = "Joacim Andersson"
MAPIMessages1.MsgSubject = "Hiya!"
MAPIMessages1.MsgNoteText = "Here's the body of the mail"
MAPIMessages1.Send
MAPISession1.SignOff
End Sub
How can I make it invisible when sending an e-mail
I'm sorry I don't understand. What do you meen by "make it invisible when sending an e-mail"?
You know when you are downloading or sending e-mail using outlook express. Well, a dialog box pops up that has a hide button, a Sop button and a detail buttong. Whenever you send/recieve mail it pops up. Can you hide that window!
can someone answer this question
anybody please reply soon!
Hmmm.. I don't get that dialog. But then again I'm not using Outlook Express so I can't really tell how to do it.
I've got OE on my job though so I look into it when I get there. (That is not before next week I'm affraid).