|
-
Aug 31st, 2000, 07:12 AM
#1
Thread Starter
Fanatic Member
How can I send an e-mail within my program! All sugestion appreciated. Please also post the code if you suggest using a component!
Visual Basic 6.0
Visual C++ 5
Delphi 5

-
Aug 31st, 2000, 07:21 AM
#2
Add the MAPI controls to a form and use code simular to this:
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
Good luck!
-
Aug 31st, 2000, 07:39 AM
#3
Thread Starter
Fanatic Member
How can I make it invisible when sending an e-mail
Visual Basic 6.0
Visual C++ 5
Delphi 5

-
Aug 31st, 2000, 07:48 AM
#4
I'm sorry I don't understand. What do you meen by "make it invisible when sending an e-mail"?
-
Aug 31st, 2000, 07:59 AM
#5
Thread Starter
Fanatic Member
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!
Visual Basic 6.0
Visual C++ 5
Delphi 5

-
Aug 31st, 2000, 08:28 AM
#6
Thread Starter
Fanatic Member
can someone answer this question
Visual Basic 6.0
Visual C++ 5
Delphi 5

-
Aug 31st, 2000, 09:12 AM
#7
Thread Starter
Fanatic Member
anybody please reply soon!
Visual Basic 6.0
Visual C++ 5
Delphi 5

-
Aug 31st, 2000, 09:24 AM
#8
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).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|