Sending Email on a machine with multiple profiles

  • Thread starter Thread starter jrjeffc
  • Start date Start date
J

jrjeffc

Guest
I'm trying to send a request email through a database that I am currently working on. I have an exchange server, and am using Outlook as my email client. I've tried creating a new Outlook object, but could not figure out how to choose a profile and log into the profile (I want the email to take place "behind your back"). So, I've tried creating a new Mapi.Session and then using the LOGON method. However, when I do this, I cannot specify a username, or a password (although the password IS a parameter that is suppose to be able to be passed). When I type in password:="mypassword" I get a named parameter not found.

Do anyone out there know any way i can do this? I would greatly appreciate it!

Thanks,

Joe Jeffcoat
 
Do you know you can also open OUTLOOK via getObject(,"Outlook.Application")? Sometimes it's quite hard to get through the object-libraries (and help-topics...). But it might work.
 

Users who are viewing this thread

Back
Top Bottom