I have been trying to send an email using a button in a form. When I use mapimail2.rbl outlook gives warning messages.
I noticed as I searched my rbase forum messages that others have had the same problem. I was able to come up with a way to send my email using the mailto command with subject and attachment. If you using the following command "launch mailto:[EMAIL PROTECTED]" an outlook mail message form will appear with the email address filled in. You can add subject line and an attachment with the flowing line: Launch 'mailto:[EMAIL PROTECTED]&body=dan the man&attachment=""c:\orders\order.pdf""' The entire command line must be in single quotes and the attachment file name must have two double quotes around it ""C:\orders\orders.pdf"" However to use this in a form button you must use a command variable. If you set a variable equal to the command line and then try to launch it. It does not work ie: Set var vmail='mailto:[EMAIL PROTECTED]&body=dan the man&attachment=""c:\orders\order.pdf""' Launch &vmail You must set your variable equal to the entire command line: SET VAR q TEXT = (CVAL('QUOTES')) set var vmail text=null set var vmail=('mailto:'+.vemail+'?') set var vmail=(.vmail+'subject=Sterling Order#'&.vordernum) set var vmail=(.vmail+'&attachment=""c:\orders\order.pdf""') PRINT order WHERE ordernum=.vordernum OPTION pdf|filename 'c:\orders\order.pdf' set var vcmd=('launch'&.q+.vmail+.q) &vcmd Hope this helps someone. PS: you can also add carbon copy and BBC as well Dan

