E Mail from Customers Form ! Code does not work, Why ?

D

Dave Elliott

I wanted it to just fill in the customers e mail address and the subject.
Using Outlook Express.

Dim strEmail As String

strEmail = "mailto:" & Me.[E Mail]
DoCmd.SendObject , , , [Me.Email], , , "From Gulf Coast Electric"
 
R

Rick Brandt

Dave Elliott said:
I wanted it to just fill in the customers e mail address and the subject.
Using Outlook Express.

Dim strEmail As String

strEmail = "mailto:" & Me.[E Mail]
DoCmd.SendObject , , , [Me.Email], , , "From Gulf Coast Electric"

I don't know what you're doing with strEMail, but the brackets are wrong on your
SendObject statement.

DoCmd.SendObject , , , Me., , , "From Gulf Coast Electric"
 

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