Posted by Herb Walters on March 10, 2010 at 08:04:46: Uploaded files: 1
IB coding for email printer.
This works:
PRINT (9) (To = '"Herb Walters" This doesn't work: EMAILTO: FORMAT EMAILTO$ OEMNOR$='Herb Walters' POS=POS("@40@",OEMAOR$) OEMAOR$=SUB(OEMAOR$,1,POS)+'@40@'+SUB(OEMAOR$,POS2,50) OEMNOR$=STRIP(OEMNOR$) EMAILTO$='@28@To = @27@"'+OEMNOR$+'"<'+OEMAOR$+">'@29@" PRINT (9,EMAILTO) This causes the email printer dialog box to appear which I do not want. The dialog box truncates the 1st letter of the "From" email address. The "To" is blank. The subject line is correct. See attached. The value of EMAILTO$ when display on the screen = (To = '"Herb Walters" I am trying to send out a batch of acknowledgements (html) and each acknowledgement has a different email address. Am I approaching this wrong? Any ideas? Thanks for all help.
Each file can be a maximum of 1MB in length Uploaded files will be purged from the server on a regular basis.
OEMAOR$='dpacsupport@40@comcast.net'
POS2=POS+1
OEMAOR$=STRIP(OEMAOR$)