|
-
Jan 20th, 2002, 06:33 AM
#1
Thread Starter
Lively Member
e-mail
I have a visual basic program who's connected to an access database.
In a table in the database there is an e-mail field...
I want to generate an e-mail.
Is there anyone who has any ideas?
-
Jan 20th, 2002, 06:36 AM
#2
Fanatic Member
No matter how fool-proof your program is, there will always be a better fool.
Was a post helpful to you? Rate it!
-
Jan 20th, 2002, 06:38 AM
#3
Thread Starter
Lively Member
yes but i also want to give the body text with it and let it send automaticallys
-
Jan 20th, 2002, 06:38 AM
#4
Thread Starter
Lively Member
yes but i also want to give the body text with it and let it send automatically
-
Jan 20th, 2002, 06:44 AM
#5
Fanatic Member
No matter how fool-proof your program is, there will always be a better fool.
Was a post helpful to you? Rate it!
-
Jan 20th, 2002, 07:38 AM
#6
Conquistador
do u want to send it thru outlook?
-
Jan 20th, 2002, 10:22 AM
#7
Junior Member
This is it
This is a code I use myself. It sends automatically throught Outlook, but you see the connecting form.
On Error Resume Next 'may be connected already
MAPISession1.SignOn
With MAPIMessages1
.SessionID = MAPISession1.SessionID
.Fetch
.Compose
.MsgSubject = "My e-mail"
'MAPIMessages1.AttachmentIndex = 1
.RecipAddress = "[email protected]"
.RecipDisplayName = "Webmaster"
End With
For this, you need a Mapisession and a mapimessages on your form
Life is too short.
Live your life.
And:
Believe in god, but dont forget to believe in yourself. 
-
Jan 20th, 2002, 12:52 PM
#8
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
|