Visual Basic POP3
I have a small app in VB that can connect to an SMTP server and send off e-mails and it worked for a bit with yahoo until their servers decided that I should log in first using POP3.
How does one go about doing that?
I just need to send off a username and password to the mail server.
Ben
try looking for the pop3 protocal rfc on google, it will enlighten you.
Did that and I was mostly unenlightened by what I found.
What I did figure out however was that I needed to use Winsock to connect to port 110 of the pop3 server. Then I learned just enough Winsock to successfully complete my app.
Took about an hour to do all that.
I''ll post source at my site in case someone else has a use for a program that can send e-mails. It''s also a good demo for using Winsock in VB.
Just in case you''re wondering, it''s for creating accounts and sending off the account info to users. Hence no need to recieve e-mails. It''s much easier than cutting and pasting a form letter into Outlook.
Ben
What I did figure out however was that I needed to use Winsock to connect to port 110 of the pop3 server. Then I learned just enough Winsock to successfully complete my app.
Took about an hour to do all that.
I''ll post source at my site in case someone else has a use for a program that can send e-mails. It''s also a good demo for using Winsock in VB.
Just in case you''re wondering, it''s for creating accounts and sending off the account info to users. Hence no need to recieve e-mails. It''s much easier than cutting and pasting a form letter into Outlook.
Ben
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement