With reference to 'Another request' by Matt Bloomfield

> Not so sure whether this is a Contact Manager or MD-II issue, but what
> I'd like to see is when choosing names from the address book, the
> first name and last name being sent to the To: field with the email
> address.  It's a pain having to add them manually, especially when
> sending to several people.  I know that I could just put the name
> infront of the address in the address book, but I don't think it
> should work that way.
> 
> Maybe it's already possible with arexx but I've not been able to do it
> and no one can tell me how.

  I've got this little script to import a formatted Email address in to
MD-II, without the stray comma, I can't think why I got it wrong last time.
 I run it from a DOpus button, so I'm sure it will run from most things.

-- 8< -- Cut Here -- 8< --
/*
 Send Formatted name to MD-II &
 open a new message from the current account.

 [EMAIL PROTECTED] 29-11-2000
*/

OPTIONS RESULTS

/*
 Check that Microdot is running
 */
IF ~SHOW('P','MD.1') THEN DO
    EXIT
    END

/*
 Check that CManager is running
 */
IF ~SHOW('P','CONTACTMAN.1') THEN DO
    EXIT
    END

ADDRESS 'CONTACTMAN.1'

GETENTRY ENTRY

EMAILNAME='"'ENTRY.NAME ENTRY.LASTNAME||" "||"<"||ENTRY.EMAIL||">"||'"'

ADDRESS 'MD.1'

NewMsgWindow TO EMAILNAME

EXIT

-- 8< -- And Here -- 8< --

-- 
Regards
  Jules
-- 
There are plenty of businesses like show business
-- Bart Simpson
__________________________________________________________________
MicroDot-II Mailing List - http://www.vapor.com/md2/
MicroDot-II FAQ: http://faq.vapor.com/md2/
Listserver Help: mailto:[EMAIL PROTECTED]?Subject=HELP
Unsubscribe....: mailto:[EMAIL PROTECTED]?Subject=UNSUBSCRIBE

Reply via email to