How to auto click send button in lotus notes

G

Guest

I am trying to get a command button to auto email in lotus notes. Everything
works great except it does not send the email. I put false at the end of the
statement but that did not work. I created a macro and chose NO to edit
message but this does not send the email either. It just opens lotus notes
applies the attachment, address and subject but does not send. Am I missing
something? Can anyone help?
 
G

Guest

This is not Access programming, but the Lotus script command @sendmail()
should work in Lotus Notes. Regards
 
G

Guest

The @mailsend(), where in the code do I put this. Here is the code I use:

Dim stDocName As String

stDocName = "Assessment"
DoCmd.SendObject acSendReport, "Assessment", , "(e-mail address removed)",
, , "Subject", "Message Text", False

I thought the "false" statement at the end would auto send the email. Can
anyone correct my misunderstanding? Thanks.
 
G

Guest

Thanks for the link. I am having trouble getting the code to work. I will
keep playing around with it and maybe get lucky.
 
G

Guest

I was able to make it work. Apparently I was missing one line of code.
Thanks for all your help!!!
 

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