Thank you shru_0409, but what I would like to do is opening the mail window, not sending the mail. The User can edit the e-mail and fill in the recipients etc.
Thanks.
Main Topics
Browse All TopicsI spent days searching the web but cannot find an answer, so you are my last hope :-)
I want to open an outlook "new message" window and fill it out with information from the database, in this case: subject and mailbody.
I came across "rundll32 url.dll,FileProtocolHandle
Does anybody have another idea to solve this? I've tried OLE automation but my users didn't like the outlook security requests. But if that's the only solution I would be happy about any help on that too.
Thanks,
Oliver
This question is in progress.
Our experts are working on an answer right now.
Sign up for immediate access to the solution once it becomes available.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Business Accounts
Answer for Membership
by: shru_0409Posted on 2009-10-21 at 05:55:11ID: 25623398
ls_body = "This is your body Thanks and Regards."
ion!)
mailSession mSes
mailReturnCode mRet
mailMessage mMsg
// Create a mail session
mSes = create mailSession
// Log on to the session
mRet = mSes.mailLogon(mailNewSess
IF mRet <> mailReturnSuccess! THEN
MessageBox("Mail", 'Logon failed.')
RETURN FALSE
END IF
ls_Subject = 'Your Subject '
// Populate the mailMessage structure
mMsg.Subject = ls_Subject
mMsg.NoteText = ls_body
mMsg.Recipient[1].name = ls_emailto
// Send the mail
mRet = mSes.mailSend(mMsg)
IF mRet <> mailReturnSuccess! THEN
MessageBox("Mail Send", 'Mail not sent')
RETURN FALSE
END IF