My computer (or me) must be a real pain. When I run this I get the
following for the body message.. (copied directly from my InBox)
Attached is invoice and order status of reference 280100 + (CHAR(13)) +
(CHAR(13)) + Please call 800-228-4632 if you have questions regarding this
order.
I did have to add Authentication ON to get it to work on our work email.
Other than this Body problem, all is working perfectly.
Maybe I have to just give it up and use 1 line.
Dick Fey
A. Razzak Memon Wrote:
Dick,
Try the following sample and see what you get.
-- start here ...
SET VAR vRefNum INTEGER = 280100
SET VAR vRefText TEXT = (CTXT(.vrefnum))
SET VAR vAttach = ('Ref-' + .vreftext +'.PDF')
SET VAR vMailTo = '[EMAIL PROTECTED]'
SET VAR vReturn TEXT = '(CHAR(13))'
PRINT cbInvoice2 WHERE RefNum = .vRefNum +
OPTION PDF|FILENAME Ref-&vreftext.PDF +
|EMAIL ON +
|EMAIL_HOST smtp-server.kc.rr.com +
|EMAIL_USERID churchfey +
|EMAIL_PASSWORD sunshine +
|EMAIL_ATTACHMENTS &vattach +
|EMAIL_TO_LIST &vmailto +
|EMAIL_FROM_NAME Carpet Broker +
|EMAIL_FROM_ADDRESS [EMAIL PROTECTED] +
|EMAIL_SUBJECT Order Status Ref No: &vrefnum +
|EMAIL_BODY Attached is invoice and order status of reference &vreftext +
+ &vreturn + &vreturn +
+ Please call 800-228-4632 if you have questions regarding this order. +
|EMAIL_DELETE_AFTER_SEND OFF +
|EMAIL_SHOW_DIALOG OFF +
RETURN
-- end here ...
Very Best R:egards,
Razzak.