Sending an Email

G

Guest

I am using the following code to send an email in Access 2003.

DoCmd.SendObject , "", "", rs("Email"), "", "", _
Me.Subject, strEmail, False, ""

It works fine from work where I have Outlook. However, at home I have AOL.
How can I send it through my AOL account?
 
G

Guest

Two ways I know of...

The hard way, which may not work, is to connect to an AOL smtp email server,
send authentication information, and then send smtp commands to get your
email sent. You can accomplish this by either coding a VBA module or
buying/opensourcing an smtp activex control. If you are up for it, see RFC
821 Simple Mail Transfer Protocol, I think. For various reasons, AOL may not
allow this type of access even if you are an authenticated AOL user.

The easy way is to setup your Outlook to send/receive your AOL mail. I'm
sure AOL allows either POP3 or IMAP setups.

HTH
David
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top