Sami,
MapiMail - launches the dialog to fill the fields and send the email
MapiMail2 - allows you to add parameters to the PLUGIN command to complete the To:, From:, etc. fields and launches the dialog
MapiMail3 - allows you to add parameters to the PLUGIN command to complete the To:, From:, etc. fields, places a check in the box for "Send Directly", and launches the dialog
MapiMail4 - allows you to add parameters to the PLUGIN command to complete the To:, From:, etc. fields, and will launch your default email client
John
At 08:21 AM 2/25/2005 -0600, you wrote:
Thanks, Razzak -
I had copied the vReturn from some older R:Mail command file I had..
One more thing - what are the differences between MapiMail, MapiMail2, MapiMail3 and MapiMail4??
Sami
-----Original Message----- From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of A. Razzak Memon Sent: Thursday, February 24, 2005 6:09 PM To: RBG7-L Mailing List Subject: [RBG7-L] - Re: MAPIMail woes
At 05:41 PM 2/24/2005, Sami Aaron wrote:
>I'm creating an automated email w/attachment and am having >problems formatting the body of the email when it is sent. >Here's the final result showing the strange wrapping, >especially on my email address - any help is appreciated!
Sami,
Change the vReturn values as following :
SET VAR vReturn TEXT = ((CHAR(13))+(CHAR(10)))
Try the following code.
-- Start SET VAR vProdTollFree TEXT = NULL SET VAR vProdTollFreeFax TEXT = NULL SET VAR vEmployeeFullName TEXT = NULL SET VAR vEmployeeEmail TEXT = NULL SET VAR vParameters TEXT = NULL SET VAR vQuote TEXT = (CVAL('QUOTES')) SET VAR vDummy TEXT = 'vDummy' SET VAR vReturn TEXT = ((CHAR(13))+(CHAR(10))) SET VAR vPipe TEXT = '|' SET VAR vSubject TEXT = 'Subject:Ac-u-kwik Update Form' SET VAR vBody TEXT = 'Body:Attached is the FBO Update form you requested. ' SET V vBody = (.vBody+' Please feel free to contact me at ' + .vProdTollFree) SET V vBody = (.vBody+' if you have any questions.') SET V vBody = (.vBody+.vReturn + .vReturn) SET V vBody = (.vBody+'Please fax the completed') SET V vBody = (.vBody+' form to ' + .vProdTollFreeFax + ' at your convenience.') SET V vBody = (.vBody+.vReturn + .vReturn) SET V vBody = (.vBody+'Thank you!' + .vReturn) SET V vBody = (.vBody+.vEmployeeFullName & .vReturn) SET V vBody = (.vBody+.vEmployeeEmail) SET VAR vParameters = (.vQuote+.vDummy&.vPipe+.vSubject&.vPipe+.vBody&.vPipe+.vQuote) CLS PLUGIN MAPIMAIL2.RBL &vParameters RETURN -- End
And that is your tip of the day!
Very Best R:egards,
Razzak.
John Minyo II R:BASE Technologies, Inc. Customer Service [EMAIL PROTECTED] www.rbase.com (724) 733-0053
