Sending email

G

Guest

I am using SendObject to send an email. All users use Outlook except for 1
person who has Outlook Express and Outlook with different profiles.

1 of the databases uses the default Outlook Express profile just fine and
wants to keep it this way. But, the user wants this database to send the
emails from his default Outlook profile. How do I do this since I cannot
change the default to Outlook because then the other database will not be
sending from the correct email?

Thanks so much in advance for help~ Natalie
 
G

Guest

I found this code while searching

Dim o As Object
Dim m As Object
Set o = CreateObject("Outlook.Application")
Set m = o.CreateItem(0)
m.To = Me.ASSIGNEE_EMAIL
m.SUBJECT = Me.SUBJECT
m.Body = Nz(Me.ASSIGN_DES, "")
m.send

And it works the same as the SendObject but I only have Outlook. Will this
work for the user that has Outlook & Outlook Express (default) but wants to
use Outlook to automatically send email?
 

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