|
Subject:
|
Sending Email
|
|
Posted By:
|
soccers_guy10
|
Post Date:
|
2/8/2004 11:40:18 PM
|
I need help... How can I send an email in VB6 window apllication ?? Assume, I don't have email account profile in computer on which this application is running . I've try to search some how-to on net but I got using such ShellExecute or MAPI that both are require email account profile in such program like Outlook Express. Please help me to find out.. Thanks a lot.
|
|
Reply By:
|
rwalker
|
Reply Date:
|
2/9/2004 8:00:58 AM
|
Try this:
Set objOutlookMsg = objOutlook.CreateItem(olMailItem) With objOutlookMsg .BCC = strTO .Subject = txtSubject.Text .Body = txtBody.Text .Importance = olImportanceHigh .Send End With
Renee C. Walker
|
|
Reply By:
|
soccers_guy10
|
Reply Date:
|
2/9/2004 9:27:08 PM
|
Is there other solution ? Or how can I set up profile about sender in VB6 window application before using outlook object ?
|
|
Reply By:
|
owain
|
Reply Date:
|
2/11/2004 9:41:54 AM
|
You could use the Microsoft Winsock Control and connect to the SMTP server manually. You will have to learn the SMTP commands and message structures however. Take a look at RFC 821 for more information. It is not very difficult at all, however it will take a while to learn.
Regards Owain Williams
|