SendObject

G

GitarJake

Does sendobject work with Access 2000 and Outlook Express?

I am trying to use the code below to pre-fill and send an email from
Outlook Express:

DoCmd.SendObject acSendNoObject, , , "[txtemail]", "(e-mail address removed)", ,
"message_subject", "Hello ", "Congratulations "


Trouble is; when OE should popup, a "Choose Profile" window from Outlook
displays instead. Then the "This program has performed an illegal
function" error happens and locks up the pc until I pound on the task
manager.

Win 98
OE 6?
Office 2000

TIA,

Jake
 
M

Marc

Hi,

DoCmd.SendObject [objecttype][, objectname][, outputformat][, to][, cc][,
bcc][, subject][, messagetext][, editmessage][, templatefile]

I take it that [txtemail] is you email id field, and that you want "message
subject" to appear in the subject field, hello in the message text, and then
congratulations in edit message?
DoCmd.SendObject acSendNoObject, , , "[txtemail]", "(e-mail address removed)", ,
"message_subject", "Hello ", "Congratulations "

Secondly, which is defined as your default email handler?
Marc
 
G

GitarJake

Hi Marc,

OE is the default mail program.

I think you kinda got the order right. I was trying for a much longer
message text, but opted for the current test string. I never got so far as
to check the arguments.

Are there any other options for autofilling emails to contacts?

TIA

Jake


Marc said:
Hi,

DoCmd.SendObject [objecttype][, objectname][, outputformat][, to][, cc][,
bcc][, subject][, messagetext][, editmessage][, templatefile]

I take it that [txtemail] is you email id field, and that you want "message
subject" to appear in the subject field, hello in the message text, and then
congratulations in edit message?
DoCmd.SendObject acSendNoObject, , , "[txtemail]", "(e-mail address removed)", ,
"message_subject", "Hello ", "Congratulations "

Secondly, which is defined as your default email handler?
Marc

GitarJake said:
Does sendobject work with Access 2000 and Outlook Express?

I am trying to use the code below to pre-fill and send an email from
Outlook Express:


Trouble is; when OE should popup, a "Choose Profile" window from Outlook
displays instead. Then the "This program has performed an illegal
function" error happens and locks up the pc until I pound on the task
manager.

Win 98
OE 6?
Office 2000

TIA,

Jake
 

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