
send and receive emails (SMTP, POP3)
Quote:
>I want to enable my application (VB 5.0 with Service Pack 3, Windows NT with
>Service Pack 3) to send and receive files by email. The user should not have
>to interact. With Mapi I have the problem that a logon window appears (error
>with logonUI = false ???) and that the user has to customize profiles in MS
>Exchange. So I want to use SMTP and POP3 directly. Has anybody experiences
>at programming such functions especially with attachment ? Does anybody know
>web sites for that problem or samples ?
You can download an evaluation of SocketTools from our site at www.catalyst.com.
Take a look at the SMTP, POP3 and MIME controls that are part of the package.
Basically, you'd use the MIME control to compose your message (set the address,
subject, etc.) and the SMTP to send it; to retrieve mail, you'd use the POP3
control to pull down the message and feed it to the MIME control to get at the
message body and extract any attachments. If you have any questions, just let me
know.
-Mike
----
Catalyst Development Corporation Web: http://www.catalyst.com