I have looked all over the helpfile and cannot find anything except a
reference to mail via the DIAL command.
Nothing fancy needed...just want to use an entry (or entries) from the
connection directory to send an email. Would like to see how to set the "to",
subject, and body of the message.
I would greatly appreciate it. Thanks in advance.
Bill Weissborn
---- Posted via Deja News ----
-- Visit the Procomm Plus / Aspect Script community
-- http://www.dejanews.com/~procomm
About all you can do is set the recipient field via the DIAL MAIL command.
You could use the SENDKEYSTR and SENDVKEY commands to tab throughout the
compose window and to enter text in various fields (such as the subject and
the body of the message). Here's a quick little script that sends an email
to the Test entry in the current Connection directory with a subject of
"Test" and a message body "Nothing much."
proc main
dial mail "test"
sendkeystr "Test" ;set the subject of the message
sendvkey 0x09 ;send two tabs to put cursor in message body
sendvkey 0x09
sendkeystr "Nothing much." ;set text of message body
sendvkey 0x044D ;send Alt-M to open Mail menu
sendvkey 0x4D ;send second M to send message
endproc
Hmmm....not real elegant but, Hey, if it works, then it solves my problem!
Thanks!
Good to see that someone really is using/reading this forum.
Bill W.