after few days working and getting help from all the nice people, thank all
here is, how finally ended,
1.attached pdf, dwg.
2. allowed my body to by my original signature
3. allowed to add recepient
4. 1 click and I have email with all this above. great thank you all,
here is the final autolisp.
(defun c:mp ( / dir )
(if (zerop (getvar 'dwgtitled))
(princ "\nCurrent drawing is unsaved.")
(rjp-outlookmessage
"Jeremiah.Parsons@applusrtd.com"
(getvar 'dwgname)
(strcat
(setq dir (vl-string-right-trim "\\" (getvar 'dwgprefix)))
)
(vl-remove-if
'(lambda ( x )
(wcmatch (vl-filename-extension x) ".log,.bak,.dwl2,.dwl")
)
(mapcar '(lambda ( x ) (strcat dir "\\" x)) (vl-directory-files dir nil 1))
)
nil
)
)
(princ)
)
(defun rjp-outlookmessage ( rcp sub bdy att snd / atm msg out rtn )
(if (setq out (vlax-get-or-create-object "outlook.application"))
(progn
(setq rtn
(vl-catch-all-apply
'(lambda nil
(setq msg (vlax-invoke-method out 'createitem 0)
atm (vlax-get msg 'attachments)
)
(vlax-put msg 'to rcp)
(vlax-put msg 'subject sub)
(foreach fnm att
(if (setq fnm (findfile fnm))
(vlax-invoke atm 'add fnm)
)
)
(if snd
(vlax-invoke msg 'send)
(vlax-invoke msg 'display :vlax-true)
)
t
)
)
)
(foreach obj (list atm msg out)
(if (= 'vla-object (type obj))
(vlax-release-object obj)
)
)
(if (vl-catch-all-error-p rtn)
(prompt (vl-catch-all-error-message rtn))
rtn
)
)
)
)
(vl-load-com) (princ)