Sending an Email in code

G

Guest

Hi,

I want to be able to automate the sending of a report by email (Lotus Notes)
using the SendObject command:

DoCmd.SendObject acSendNoObject, , , "(e-mail address removed)", , , "Test",
"Test", False

According to the Help file when the editmessage argument is False, the mail
gets sent without editing, but this does not happen! The message waits until
the user clicks the send button!

Is there anyway around this?

Cheers,
Steve
 
J

Joe Smith

I don't know much about Lotus Notes, but it could be a security issue. I
tried that command myself and it kicked open an outlook email, but a popup
came up saying a message was 'trying to be sent, it could be a virus'. and
prompted me to "continue" sending or not. so it doesn't go without user
intervention.

Are you sending an email with Lotus notes because you want to use lotus
notes? There are other ways to send emails (assuming you are using Windows
XP) without the need of the installed email client. If you want another way,
let me know.

Steve
 
G

Guest

Not familar with Lotus Notes but we had this problem. Had to alter the
security settings on the exchange 2000 server in order to give the clients
permission to send emails without clicking a security button. You may have
to look into changing the security settings for the Notes Server.
 

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