Output in Email Body Formatting Warped
Hi All
I am completly new to powershell & am googling about for code.
I have been able to so far to send the results of a powershell query by email and am mightly impressed it worked.
When the query is done on the command line it works great, by email the output is spread wide and the fields dont align with each other.
I have pasted my commands below. I am querying the Exchange Mailbox sizes and wish to sort by the biggest down. This works great and I out put it to a text file.
I then read the text file and substitute it for the body of the email.
On the outlook email recepient end It looks to me like the window size of outlook causes the text to wrap around and it is no longer displayed lengthways.
Is there anything I can do?
Thanks
Below gets data
Get-WMIObject -Class Exchange_Mailbox -Namespace ROOT\MicrosoftExchangev2 -ComputerName
MyExchangeServer | Where-Object {$_.LastWriteTime -le (Get-Date).AddYears(1)} | Select-Object MailboxDisplayName,Size
| sort-object size -descending
Below tells which exchnage server to use
$psEmailServer = "MyExchangeServer"
Below is the text file containing the data I need assigned to $body
$body= (Get-Content mailboxsize.txt)
Below sends the email using the contents of the email as the email body, BUT it dosent come out right and its out of alignment in outlook.
send-mailmessage -from "[email protected]" -to "[email protected]" -subject "test powershell email" -body "$body"
confuseis
The PowerShell console uses a fixed-width font, by default, but most email clients don't. The best solution is to use the ConvertTo-Html command on the results of your pipeline, instead of saving the text to a file. This renders the objects in
an HTML table instead of relying on a fixed-width font, and then you use the -BodyAsHtml switch when calling Send-MailMessage:
$data = Get-WMIObject -Class Exchange_Mailbox -Namespace ROOT\MicrosoftExchangev2 -ComputerName MyExchangeServer |
Where-Object {$_.LastWriteTime -le (Get-Date).AddYears(1)} |
Select-Object MailboxDisplayName,Size |
sort-object size -descending
$psEmailServer = "MyExchangeServer"
$body = $data | ConvertTo-Html | Out-String
Send-MailMessage -From "[email protected]" -To "[email protected]" -Subject "test powershell email" -Body $body -BodyAsHtml
Edit: If you absolutely must send the contents of the file as-is, you can still try sending the body as HTML, wrapping the body text in a <pre> tag, which should be displayed in a fixed-width font:
$body = Get-Content mailboxsize.txt -Raw
$body = '<pre>{0}</pre>' -f [System.Net.WebUtility]::HtmlEncode($body)
$psEmailServer = "MyExchangeServer"
Send-MailMessage -From "[email protected]" -To "[email protected]" -Subject "test powershell email" -Body $body -BodyAsHtml
Similar Messages
-
Transfer Report output to email body
Hi,
I have some problems in transferring my report output into the email body. As i know, there is a function to transfer the report output to the email as attachment. But for my current requirement, i would like to transfer the report output the the email body. My current report output is in table form and as i transfer the report output to the email body, it should be the same format as the report output in the email body. I am using write function to show this report. May i know how should i go about solving this problem?
Appreciate if you could help.
Thanks.
Regards,
RachelHi Rachel,
Check this sample program which uses the standard FM for sending email .
zdp_solisti1 is a structure having fields naming LINE of type LCHR and its length being 2500.
*******Email declarations
data : gv_delimit TYPE c,
lv_lncnt1(5) TYPE c,
tempread(10) TYPE c VALUE 0,
objpack TYPE sopcklsti1 OCCURS 0 WITH HEADER LINE,
objhead TYPE zdp_solisti1 OCCURS 1 WITH HEADER LINE,
objbin TYPE soli OCCURS 0 WITH HEADER LINE,
objtxt TYPE zdp_solisti1 OCCURS 0 WITH HEADER LINE,
reclist TYPE somlreci1 OCCURS 0 WITH HEADER LINE,
doc_chng LIKE sodocchgi1,
tab_lines LIKE sy-tabix.
CLEAR GV_DELIMIT.
GV_DELIMIT = CL_ABAP_CHAR_UTILITIES=>HORIZONTAL_TAB.
TEMPREAD = LV_LNCNT1.
REFRESH OBJTXT.
CONCATENATE 'The no. of error records are : ' TEMPREAD
INTO OBJTXT-LINE.
APPEND OBJTXT.
CLEAR OBJPACK. REFRESH OBJPACK.
CONCATENATE C_CODE
C_CMMT
C_COMMENT1
INTO OBJTXT-LINE SEPARATED BY GV_DELIMIT.
APPEND OBJTXT.
LOOP AT IT_DATA INTO WA_DATA.
CONCATENATE WA_DATA-ZCODE
WA_DATA-ZCOMMENT
WA_DATA-ZREASON
INTO OBJTXT-LINE SEPARATED BY GV_DELIMIT.
APPEND OBJTXT.
ENDLOOP.
CLEAR GV_DELIMIT.
CLEAR OBJPACK. REFRESH OBJPACK.
CLEAR DOC_CHNG.
TAB_LINES = 0.
OBJHEAD = REJFILE. APPEND OBJHEAD.
DESCRIBE TABLE OBJTXT LINES TAB_LINES.
READ TABLE OBJTXT INDEX TAB_LINES.
DOC_CHNG-OBJ_NAME = REJFILE.
MOVE TEXT-006 TO
DOC_CHNG-OBJ_DESCR.
DOC_CHNG-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( OBJTXT ).
CLEAR OBJPACK-TRANSF_BIN.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 0.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = 1. " 3.
OBJPACK-DOC_TYPE = 'RAW'.
APPEND OBJPACK.
FOR ASCII TO BINARY OBJECT FUNCTION
TOTLINEXFER = 0.
TOTXFER = 0.
BINMAXLEN = 255.
REFRESH OBJBIN.
LV_CR = CL_ABAP_CHAR_UTILITIES=>CR_LF.
TGTMAXLEN = BINMAXLEN.
TGTLEN = 0.
LOOP AT OBJTXT FROM 2.
IF NOT OBJTXT-LINE CP 'The no. of records are '." AND
CONCATENATE OBJTXT-LINE LV_CR INTO BUFFER.
SRCOBJLEN = STRLEN( BUFFER ).
SRCOBJPTR = 0.
WHILE SRCOBJLEN > 0 .
XFERLEN = TGTMAXLEN - TGTLEN.
IF XFERLEN > SRCOBJLEN.
XFERLEN = SRCOBJLEN.
MOVE BUFFERSRCOBJPTR TO OBJBIN-LINETGTLEN.
TGTLEN = TGTLEN + SRCOBJLEN.
SRCOBJLEN = 0.
CLEAR BUFFER.
ELSE.
MOVE BUFFER+SRCOBJPTR(XFERLEN) TO
OBJBIN-LINE+TGTLEN(XFERLEN).
APPEND OBJBIN.
CLEAR OBJBIN-LINE.
TGTLEN = 0.
SRCOBJLEN = SRCOBJLEN - XFERLEN.
SRCOBJPTR = SRCOBJPTR + XFERLEN.
TOTLINEXFER = TOTLINEXFER + 1.
ENDIF.
TOTXFER = TOTXFER + XFERLEN.
ENDWHILE.
ENDIF.
ENDLOOP.
IF TGTLEN > 0.
APPEND OBJBIN.
TOTLINEXFER = TOTLINEXFER + 1.
ENDIF.
CLEAR OBJPACK-TRANSF_BIN.
OBJPACK-TRANSF_BIN = 'X'.
OBJPACK-HEAD_START = 1.
OBJPACK-HEAD_NUM = 0.
OBJPACK-BODY_START = 1.
OBJPACK-BODY_NUM = TOTLINEXFER.
OBJPACK-DOC_TYPE = 'XLS'.
OBJPACK-OBJ_NAME = REJFILE.
OBJPACK-OBJ_DESCR = 'Rejected Entries File'.
OBJPACK-DOC_SIZE = TOTXFER.
APPEND OBJPACK.
REFRESH RECLIST.
MAIL1 = 'xxxxxxxx' " Email Address
RECLIST-RECEIVER = MAIL1.
RECLIST-REC_TYPE = 'U'.
APPEND RECLIST.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
DOCUMENT_DATA = DOC_CHNG
PUT_IN_OUTBOX = 'X'
COMMIT_WORK = 'X'
TABLES
PACKING_LIST = OBJPACK
OBJECT_HEADER = OBJHEAD
CONTENTS_BIN = OBJBIN
CONTENTS_TXT = OBJTXT
RECEIVERS = RECLIST.
IF SY-SUBRC 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
As per your requirement, In the above program you need to fill OBJTXT with the contents of your internal table as per your requirement. This is the data which is displayed as the body of your mail.
Hope this is helpful to you. If you need further information, revert back.
Reward all the helpful answers.
Regards
Nagaraj T -
Email body format is not correctly in SOST using SO_DOCUMENT_SEND_API1
Hi Experts,
I am sending email from my program, Email body is not coming correct format in the SOST as it is in the internal table.
Below code i was written if any one knows please suggest.
CONCATENATE DBHOST ':' SY-REPID INTO SUBJECT.
DESCRIBE TABLE EMAIL_BODY LINES LINCOUNT.
MOVE SUBJECT TO V_DATA-OBJ_DESCR.
V_DATA-OBJ_NAME = 'TEXT'.
IT_PACK-HEAD_START = '000000000000001'.
IT_PACK-BODY_START = '000000000000001'.
IT_PACK-DOC_TYPE = 'HTM' .
IT_PACK-BODY_NUM = LINCOUNT.
APPEND IT_PACK.
IT_RECEIVER-RECEIVER = ADDRESSEE.
IT_RECEIVER-REC_TYPE = 'U'.
IT_RECEIVER-COM_TYPE = 'INT'.
APPEND IT_RECEIVER.
LOOP AT EMAIL_BODY.
MOVE EMAIL_BODY-TDLINE TO IT_TEXT-LINE.
APPEND IT_TEXT.
CLEAR IT_TEXT.
ENDLOOP.
lv_RECEIVER = program input field email address.
CALL FUNCTION 'SO_DOCUMENT_SEND_API1'
EXPORTING
DOCUMENT_DATA = V_DATA
PUT_IN_OUTBOX = 'X'
SENDER_ADDRESS = lv_RECEIVER
SENDER_ADDRESS_TYPE = 'INT '
TABLES
PACKING_LIST = IT_PACK
CONTENTS_TXT = IT_TEXT
RECEIVERS = IT_RECEIVER
EXCEPTIONS
TOO_MANY_RECEIVERS = 1
DOCUMENT_NOT_SENT = 2
DOCUMENT_TYPE_NOT_EXIST = 3
OPERATION_NO_AUTHORIZATION = 4
PARAMETER_ERROR = 5
X_ERROR = 6
ENQUEUE_ERROR = 7
OTHERS = 8.
Eagerly waiting for your response.
Thanks,
Kumarwhat do you mean by "not correctly"? Is the text wrapping at 80 characters, or ?? Where's your example of the "not correctly" text?
-
Need to send the report output in email body.
Hi Friends,
I need to send the report output in body of the email but not as an attachment.
Requesting your suggestions. Please elaborated answers are expected.
Thanks & Regards,
S.Suresh Babu.If you are looking for same output to be available in the email body, i think this is not possible.
If you are just concentrated on the data, then you can do as below.
1. In your custom program, submit the actual report program via spool and by making use of that spool, read the spool content (We have function modules which can download the content from spool to the internal table), and by making use of this internal table, build the actual internal table as required which will be passed to email function module lets say SO_OBJECT_SEND etc..
2. You can make use of even LIST_TO_MEMORY and LIST_FROM_MEMORY function modules as well instead of spool, if you have data in the final internal table.
I am not sure, how can we handle in terms of logos if any.....or the data in the top of page related things...... -
Hi,
We have a requirement to send an email with body in the below mentioned format. I have populated the final internal table with necessary data. I have concatenated all the columns of each record of the final internal table into a text variable with necessary spaces and appended to another internal table of type 'SOLI_TAB'. I am using CL_BCS class to send email. But I am facing an issue with the formatting. Also the column headings should be in bold.
Column1 Column2 Column3 Column4 Column5
XXXXX XXXXXX XXXXXX XXXXXX XXXXX
XXXXX XXXXXX XXXXXX XXXXXX XXXXX
XXXXX XXXXXX XXXXXX XXXXXX XXXXX
Current Behaviour:
Column1 Column2 Column3 Column4 Column5
XXXXX XXXX XXXXXX XXXXXX XXXXX
XXXXX XXXXXX XXXXXX XXXXXX XXXXX
XXXXX XXXXXX XXXX XXXXXX XXXXX
Can any one help me on this?
Regardhi ,
Why cant you try putting tablle format for this. and you can make header in bold also
refer this page
Table as Email Body
Thanks Sam. -
Publishing crystal report output in Email body
Hi,
I had a very basic requirement to broadcast/publish the output of crystal report in the email body of mail recepient. I have not found any options for this ans im able only to generate pdf outputs.
Thanks,
Ariel.Hi,
I also have the same requirement cn any one help me out with this.
Regards,
Pratik -
Display Report Output in Email Body (EBS).
Hi,
I was wondering if it is possible to display the output of a BIP report within the body of an email using bursting instead of having the report in an attachment.
Thanks in advance
CarlHi Carl,
I use the API directly:
// Parse RTF og lav XSL
ByteArrayOutputStream xsl;
xsl = new ByteArrayOutputStream(1024);
RTFProcessor rtfProc = new RTFProcessor(rtfPath);
rtfProc.setOutput(xsl);
rtfProc.process();
xsl.flush();
xsl.close();
// Lave rtf udfra xml og det nye xsl
BufferedOutputStream bout = new BufferedOutputStream(new FileOutputStream(output));
ByteArrayInputStream xmlStream = new ByteArrayInputStream(xml);
FOProcessor foProc = new FOProcessor();
foProc.setTemplate(new ByteArrayInputStream(xsl.toByteArray()));
foProc.setData(xmlStream);
foProc.setOutput(bout);
foProc.setOutputFormat(FOProcessor.FORMAT_RTF);
foProc.generate();
bout.flush();
bout.close();
I can change the output format to HTML (haven't tried) -> and then send the email with contenttype html. Can I email directly via the api ? -
Grretings Forum,
I need some help in sending a mail with proper format. My text message is a report. Therefore
I want them to be lined up. When see in the debug message it is all lined up. But when the mail is actually sent the message is not lined up properly. It looks like a very shabby report. Can any one help please.
Thanks
SudeepHi,
I am .developing similar functinality of mail server by implementing email queue management....presently working email software ....Right now i am using the file storage for queue mangement.Please tell me if any better managemnt API is there in Java for EMail Queue... please let me ASAP...
thanks and regards...
reply me immediately at [email protected]
Any further discussion or clarification at yahoo messenger at
reply at yahoo messenger [email protected]
hope to see ur quite response ASAp.
Avanish -
Background Job result output should be displayed in Email body
Hi Friends,
One of our user is scheduling background job, He need the output to his external Email ID.
user required that Job result output should be displayed in Email body, Not in attachment.
We have tried but job result received in email as HTML (or) PDF file attachment, But he wants output in Email body itself.
Please help.
Regards,
Karthickbabu G.GHi,
Displaying report output in email body is not available as a standard feature. Also doing a custom development would be very cumbersome .
Regards,
Deepak Kori -
Format of email body in bursting control file
Hi,
I am hoping this is a simple question for someone that is not as new as I am to bursting...
What is the new line character I should be using to format the outgoing email body within the bursting control file.
At present, the entire email body appears as one paragraph regardless of whether I have included new lines or not. I am no doubt missing something simple given that it is 5.20pm on a Friday.
Any help is appreciated.
Kind regards,
WesVersion 11.5.10.2
XML/BI Publisher Version : 5.6.3
i have put the log file here for your reference
XML/BI Publisher Version : 5.6.3
Request ID: 1691733
All Parameters: ReportRequestID=1691732:DebugFlag=Y
Report Req ID: 1691732
Debug Flag: Y
Updating request description
Updated description
Retrieving XML request information
Node Name:COLFARMT
Preparing parameters
null output =/u3010/app/oracle/UAT/common/admin/out/UAT1_colfarmt/o1691733.out
inputfilename =/u3010/app/oracle/UAT/common/admin/out/UAT1_colfarmt/o1691732.out
Data XML File:/u3010/app/oracle/UAT/common/admin/out/UAT1_colfarmt/o1691732.out
Set Bursting parameters..
Temp. Directory:/u0350/app/apps/UAT/xx/1.0/log
[033108_044049404][][STATEMENT] Oracle XML Parser version ::: Oracle XDK Java 9.0.4.0.0 Production
Start bursting process..
[033108_044049410][][STATEMENT] /u0350/app/apps/UAT/xx/1.0/log
[033108_044049474][][STATEMENT] BurstingProcessor ::: Property Key ---> burstng-source
[033108_044049475][][STATEMENT] Inside burstingConfigParser
[033108_044049482][oracle.apps.xdo.batch.BurstingProcessorEngine][STATEMENT] ========================> startElement() ::: startDocument is entered <========================
[033108_044049688][oracle.apps.xdo.batch.BurstingProcessorEngine][STATEMENT] ========================> startElement() ::: startDocument is entered <========================
[033108_044050177][][STATEMENT] template File/u0350/app/apps/UAT/xx/1.0/data/PurchaseOrder.rtf
[033108_044050245][][STATEMENT] Logger.init(): *** DEBUG MODE IS OFF. ***
[033108_044050731][][STATEMENT] [ PDF GENERATOR ]---------------------------------------------
[033108_044050732][][STATEMENT] XDO version = Oracle XML Publisher 5.6.3
[033108_044050732][][STATEMENT] java.home = /usr/j2sdk1.4.2_08/jre
[033108_044050732][][STATEMENT] XDO_TOP = null
[033108_044050732][][STATEMENT] Config Path = null
[033108_044050732][][STATEMENT] Debug Cfg Path= null
[033108_044050733][][STATEMENT] Font dir = /usr/j2sdk1.4.2_08/jre/lib/fonts/
[033108_044050733][][STATEMENT] Locale = en
[033108_044050733][][STATEMENT] Fallback font = type1.Helvetica
[033108_044050733][][STATEMENT] [ PDF GENERATOR PROPERTIES ]----------------------------------
[033108_044050736][][STATEMENT] digit-substitution=null(not set)
[033108_044050736][][STATEMENT] font.ALBANY WT J.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTJ.ttf
[033108_044050736][][STATEMENT] font.ALBANY WT K.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTK.ttf
[033108_044050737][][STATEMENT] font.ALBANY WT SC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTS.ttf
[033108_044050737][][STATEMENT] font.ALBANY WT TC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTT.ttf
[033108_044050737][][STATEMENT] font.ALBANY WT.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANYWT.ttf
[033108_044050737][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOJB.ttf
[033108_044050737][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOJ.ttf
[033108_044050738][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOKB.ttf
[033108_044050738][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOK.ttf
[033108_044050738][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOSCB.ttf
[033108_044050738][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOSC.ttf
[033108_044050739][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOTCB.ttf
[033108_044050739][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOTC.ttf
[033108_044050739][][STATEMENT] font.ANDALE DUOSPACE WT.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOB.ttf
[033108_044050739][][STATEMENT] font.ANDALE DUOSPACE WT.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUO.ttf
[033108_044050739][][STATEMENT] font.CG TIMES.italic.bold=type1.Times-BoldItalic
[033108_044050739][][STATEMENT] font.CG TIMES.italic.normal=type1.Times-Italic
[033108_044050740][][STATEMENT] font.CG TIMES.normal.bold=type1.Times-Bold
[033108_044050741][][STATEMENT] font.CG TIMES.normal.normal=type1.Times-Roman
[033108_044050741][][STATEMENT] font.COURIER NEW.italic.bold=type1.Courier-BoldOblique
[033108_044050741][][STATEMENT] font.COURIER NEW.italic.normal=type1.Courier-Oblique
[033108_044050741][][STATEMENT] font.COURIER NEW.normal.bold=type1.Courier-Bold
[033108_044050741][][STATEMENT] font.COURIER NEW.normal.normal=type1.Courier
[033108_044050742][][STATEMENT] font.COURIER.italic.bold=type1.Courier-BoldOblique
[033108_044050742][][STATEMENT] font.COURIER.italic.normal=type1.Courier-Oblique
[033108_044050742][][STATEMENT] font.COURIER.normal.bold=type1.Courier-Bold
[033108_044050742][][STATEMENT] font.COURIER.normal.normal=type1.Courier
[033108_044050742][][STATEMENT] font.DEFAULT.italic.bold=type1.Helvetica-BoldOblique
[033108_044050742][][STATEMENT] font.DEFAULT.italic.normal=type1.Helvetica-Oblique
[033108_044050743][][STATEMENT] font.DEFAULT.normal.bold=type1.Helvetica-Bold
[033108_044050743][][STATEMENT] font.DEFAULT.normal.normal=type1.Helvetica
[033108_044050743][][STATEMENT] font.HELVETICA.italic.bold=type1.Helvetica-BoldOblique
[033108_044050743][][STATEMENT] font.HELVETICA.italic.normal=type1.Helvetica-Oblique
[033108_044050743][][STATEMENT] font.HELVETICA.normal.bold=type1.Helvetica-Bold
[033108_044050743][][STATEMENT] font.HELVETICA.normal.normal=type1.Helvetica
[033108_044050743][][STATEMENT] font.MONOSPACE.italic.bold=type1.Courier-BoldOblique
[033108_044050744][][STATEMENT] font.MONOSPACE.italic.normal=type1.Courier-Oblique
[033108_044050744][][STATEMENT] font.MONOSPACE.normal.bold=type1.Courier-Bold
[033108_044050744][][STATEMENT] font.MONOSPACE.normal.normal=type1.Courier
[033108_044050744][][STATEMENT] font.SANS-SERIF.italic.bold=type1.Helvetica-BoldOblique
[033108_044050744][][STATEMENT] font.SANS-SERIF.italic.normal=type1.Helvetica-Oblique
[033108_044050744][][STATEMENT] font.SANS-SERIF.normal.bold=type1.Helvetica-Bold
[033108_044050745][][STATEMENT] font.SANS-SERIF.normal.normal=type1.Helvetica
[033108_044050745][][STATEMENT] font.SERIF.italic.bold=type1.Times-BoldItalic
[033108_044050745][][STATEMENT] font.SERIF.italic.normal=type1.Times-Italic
[033108_044050745][][STATEMENT] font.SERIF.normal.bold=type1.Times-Bold
[033108_044050745][][STATEMENT] font.SERIF.normal.normal=type1.Times-Roman
[033108_044050745][][STATEMENT] font.SYMBOL.normal.normal=type1.Symbol
[033108_044050746][][STATEMENT] font.TIMES NEW ROMAN.italic.bold=type1.Times-BoldItalic
[033108_044050746][][STATEMENT] font.TIMES NEW ROMAN.italic.normal=type1.Times-Italic
[033108_044050746][][STATEMENT] font.TIMES NEW ROMAN.normal.bold=type1.Times-Bold
[033108_044050746][][STATEMENT] font.TIMES NEW ROMAN.normal.normal=type1.Times-Roman
[033108_044050746][][STATEMENT] font.TIMES.italic.bold=type1.Times-BoldItalic
[033108_044050746][][STATEMENT] font.TIMES.italic.normal=type1.Times-Italic
[033108_044050747][][STATEMENT] font.TIMES.normal.bold=type1.Times-Bold
[033108_044050747][][STATEMENT] font.TIMES.normal.normal=type1.Times-Roman
[033108_044050747][][STATEMENT] font.ZAPFDINGBATS.normal.normal=type1.ZapfDingbats
[033108_044050747][][STATEMENT] pdf-changes-allowed=0
[033108_044050749][][STATEMENT] pdf-compression=true
[033108_044050749][][STATEMENT] pdf-enable-accessibility=true
[033108_044050749][][STATEMENT] pdf-enable-copying=false
[033108_044050749][][STATEMENT] pdf-encryption-level=0
[033108_044050749][][STATEMENT] pdf-font-embedding=true
[033108_044050749][][STATEMENT] pdf-hide-menubar=false
[033108_044050750][][STATEMENT] pdf-hide-toolbar=false
[033108_044050750][][STATEMENT] pdf-no-accff=false
[033108_044050750][][STATEMENT] pdf-no-cceda=false
[033108_044050750][][STATEMENT] pdf-no-changing-the-document=true
[033108_044050750][][STATEMENT] pdf-no-printing=false
[033108_044050750][][STATEMENT] pdf-open-password=
[033108_044050751][][STATEMENT] pdf-permissions=0
[033108_044050751][][STATEMENT] pdf-permissions-password=
[033108_044050751][][STATEMENT] pdf-printing-allowed=0
[033108_044050751][][STATEMENT] pdf-replace-smartquotes=true
[033108_044050751][][STATEMENT] pdf-security=false
[033108_044050751][][STATEMENT] ------------------------------------------------------
[033108_044051077][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Helvetica
[033108_044051091][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Times-Roman
[033108_044051237][][STATEMENT] WARNING: Old RTF version detected, nested table disabled
[033108_044052301][][STATEMENT] WARNING: Old RTF version detected, nested table disabled
[033108_044052383][oracle.apps.xdo.template.rtf.RTF2XSLParser][STATEMENT] Time spent: 1665
[033108_044052394][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica closed.
[033108_044052394][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Times-Roman closed.
[033108_044052649][][STATEMENT] Logger.init(): *** DEBUG MODE IS OFF. ***
[033108_044052649][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor constructor is called.
[033108_044052901][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor has been initialized without default config.
[033108_044052901][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setTemplate(String) is called with '/u0350/app/apps/UAT/xx/1.0/log/033108_044049420/xdo2.tmp'.
[033108_044052916][][STATEMENT] Logger.init(): *** DEBUG MODE IS OFF. ***
[033108_044052916][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setData(String) is called with '/u0350/app/apps/UAT/xx/1.0/log/033108_044049420/xdo0.tmp'.
[033108_044052920][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setOutput(String)is called with '/u0350/app/apps/UAT/xx/1.0/log/033108_044049420/PurchaseOrder 6023571.pdf'.
[033108_044052948][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.setOutputFormat(byte)is called with ID=1.
[033108_044052950][oracle.apps.xdo.template.FOProcessor][STATEMENT] FOProcessor.generate() called.
[033108_044052950][oracle.apps.xdo.template.FOProcessor][STATEMENT] createFO(Object, Object) is called.
[033108_044053858][oracle.apps.xdo.common.xml.XSLT10gR1][STATEMENT] oracle.xdo Developers Kit 10.1.0.3.0 - Production
[033108_044053859][oracle.apps.xdo.common.xml.XSLT10gR1][STATEMENT] Scalable Feature Disabled
[033108_044055032][oracle.apps.xdo.template.fo.FOProcessingEngine][STATEMENT] Using proxy for PDF Generator
[033108_044055064][oracle.apps.xdo.template.FOProcessor][STATEMENT] Calling FOProcessingEngine.process()
[033108_044055065][][STATEMENT] Using optimized xslt
[033108_044055100][oracle.apps.xdo.template.fo.datatype.AttrKey][STATEMENT] WARNING: Found undetermined AttrKey: xmlns:xlink
[033108_044055108][][STATEMENT] [ PDF GENERATOR ]---------------------------------------------
[033108_044055108][][STATEMENT] XDO version = Oracle XML Publisher 5.6.3
[033108_044055108][][STATEMENT] java.home = /usr/j2sdk1.4.2_08/jre
[033108_044055109][][STATEMENT] XDO_TOP = null
[033108_044055112][][STATEMENT] Config Path = null
[033108_044055112][][STATEMENT] Debug Cfg Path= null
[033108_044055112][][STATEMENT] Font dir = /usr/j2sdk1.4.2_08/jre/lib/fonts/
[033108_044055112][][STATEMENT] Locale = en
[033108_044055112][][STATEMENT] Fallback font = type1.Helvetica
[033108_044055112][][STATEMENT] [ PDF GENERATOR PROPERTIES ]----------------------------------
[033108_044055115][][STATEMENT] digit-substitution=null(not set)
[033108_044055115][][STATEMENT] font.ALBANY WT J.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTJ.ttf
[033108_044055116][][STATEMENT] font.ALBANY WT K.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTK.ttf
[033108_044055116][][STATEMENT] font.ALBANY WT SC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTS.ttf
[033108_044055116][][STATEMENT] font.ALBANY WT TC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANWTT.ttf
[033108_044055116][][STATEMENT] font.ALBANY WT.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ALBANYWT.ttf
[033108_044055116][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOJB.ttf
[033108_044055116][][STATEMENT] font.ANDALE DUOSPACE WT J.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOJ.ttf
[033108_044055116][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOKB.ttf
[033108_044055130][][STATEMENT] font.ANDALE DUOSPACE WT K.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOK.ttf
[033108_044055130][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOSCB.ttf
[033108_044055131][][STATEMENT] font.ANDALE DUOSPACE WT SC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOSC.ttf
[033108_044055137][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOTCB.ttf
[033108_044055137][][STATEMENT] font.ANDALE DUOSPACE WT TC.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOTC.ttf
[033108_044055137][][STATEMENT] font.ANDALE DUOSPACE WT.normal.bold=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUOB.ttf
[033108_044055138][][STATEMENT] font.ANDALE DUOSPACE WT.normal.normal=truetype./usr/j2sdk1.4.2_08/jre/lib/fonts/ADUO.ttf
[033108_044055138][][STATEMENT] font.CG TIMES.italic.bold=type1.Times-BoldItalic
[033108_044055138][][STATEMENT] font.CG TIMES.italic.normal=type1.Times-Italic
[033108_044055138][][STATEMENT] font.CG TIMES.normal.bold=type1.Times-Bold
[033108_044055138][][STATEMENT] font.CG TIMES.normal.normal=type1.Times-Roman
[033108_044055138][][STATEMENT] font.COURIER NEW.italic.bold=type1.Courier-BoldOblique
[033108_044055138][][STATEMENT] font.COURIER NEW.italic.normal=type1.Courier-Oblique
[033108_044055138][][STATEMENT] font.COURIER NEW.normal.bold=type1.Courier-Bold
[033108_044055138][][STATEMENT] font.COURIER NEW.normal.normal=type1.Courier
[033108_044055139][][STATEMENT] font.COURIER.italic.bold=type1.Courier-BoldOblique
[033108_044055139][][STATEMENT] font.COURIER.italic.normal=type1.Courier-Oblique
[033108_044055139][][STATEMENT] font.COURIER.normal.bold=type1.Courier-Bold
[033108_044055139][][STATEMENT] font.COURIER.normal.normal=type1.Courier
[033108_044055139][][STATEMENT] font.DEFAULT.italic.bold=type1.Helvetica-BoldOblique
[033108_044055139][][STATEMENT] font.DEFAULT.italic.normal=type1.Helvetica-Oblique
[033108_044055139][][STATEMENT] font.DEFAULT.normal.bold=type1.Helvetica-Bold
[033108_044055139][][STATEMENT] font.DEFAULT.normal.normal=type1.Helvetica
[033108_044055139][][STATEMENT] font.HELVETICA.italic.bold=type1.Helvetica-BoldOblique
[033108_044055140][][STATEMENT] font.HELVETICA.italic.normal=type1.Helvetica-Oblique
[033108_044055140][][STATEMENT] font.HELVETICA.normal.bold=type1.Helvetica-Bold
[033108_044055140][][STATEMENT] font.HELVETICA.normal.normal=type1.Helvetica
[033108_044055140][][STATEMENT] font.MONOSPACE.italic.bold=type1.Courier-BoldOblique
[033108_044055140][][STATEMENT] font.MONOSPACE.italic.normal=type1.Courier-Oblique
[033108_044055140][][STATEMENT] font.MONOSPACE.normal.bold=type1.Courier-Bold
[033108_044055140][][STATEMENT] font.MONOSPACE.normal.normal=type1.Courier
[033108_044055140][][STATEMENT] font.SANS-SERIF.italic.bold=type1.Helvetica-BoldOblique
[033108_044055140][][STATEMENT] font.SANS-SERIF.italic.normal=type1.Helvetica-Oblique
[033108_044055141][][STATEMENT] font.SANS-SERIF.normal.bold=type1.Helvetica-Bold
[033108_044055141][][STATEMENT] font.SANS-SERIF.normal.normal=type1.Helvetica
[033108_044055141][][STATEMENT] font.SERIF.italic.bold=type1.Times-BoldItalic
[033108_044055141][][STATEMENT] font.SERIF.italic.normal=type1.Times-Italic
[033108_044055141][][STATEMENT] font.SERIF.normal.bold=type1.Times-Bold
[033108_044055141][][STATEMENT] font.SERIF.normal.normal=type1.Times-Roman
[033108_044055141][][STATEMENT] font.SYMBOL.normal.normal=type1.Symbol
[033108_044055141][][STATEMENT] font.TIMES NEW ROMAN.italic.bold=type1.Times-BoldItalic
[033108_044055141][][STATEMENT] font.TIMES NEW ROMAN.italic.normal=type1.Times-Italic
[033108_044055142][][STATEMENT] font.TIMES NEW ROMAN.normal.bold=type1.Times-Bold
[033108_044055142][][STATEMENT] font.TIMES NEW ROMAN.normal.normal=type1.Times-Roman
[033108_044055142][][STATEMENT] font.TIMES.italic.bold=type1.Times-BoldItalic
[033108_044055142][][STATEMENT] font.TIMES.italic.normal=type1.Times-Italic
[033108_044055142][][STATEMENT] font.TIMES.normal.bold=type1.Times-Bold
[033108_044055142][][STATEMENT] font.TIMES.normal.normal=type1.Times-Roman
[033108_044055142][][STATEMENT] font.ZAPFDINGBATS.normal.normal=type1.ZapfDingbats
[033108_044055142][][STATEMENT] pdf-changes-allowed=0
[033108_044055142][][STATEMENT] pdf-compression=true
[033108_044055143][][STATEMENT] pdf-enable-accessibility=true
[033108_044055143][][STATEMENT] pdf-enable-copying=false
[033108_044055143][][STATEMENT] pdf-encryption-level=0
[033108_044055143][][STATEMENT] pdf-font-embedding=true
[033108_044055143][][STATEMENT] pdf-hide-menubar=false
[033108_044055143][][STATEMENT] pdf-hide-toolbar=false
[033108_044055143][][STATEMENT] pdf-no-accff=false
[033108_044055143][][STATEMENT] pdf-no-cceda=false
[033108_044055143][][STATEMENT] pdf-no-changing-the-document=true
[033108_044055144][][STATEMENT] pdf-no-printing=false
[033108_044055145][][STATEMENT] pdf-open-password=
[033108_044055145][][STATEMENT] pdf-permissions=0
[033108_044055145][][STATEMENT] pdf-permissions-password=
[033108_044055145][][STATEMENT] pdf-printing-allowed=0
[033108_044055145][][STATEMENT] pdf-replace-smartquotes=true
[033108_044055145][][STATEMENT] pdf-security=false
[033108_044055145][][STATEMENT] ------------------------------------------------------
[033108_044055220][][STATEMENT] Rendering page [1]
[033108_044055238][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Helvetica
[033108_044055238][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Times-Roman
[033108_044055246][][STATEMENT] Phase2 time used: 83ms
[033108_044055531][][STATEMENT] Continue rendering page [1]
[033108_044055585][oracle.apps.xdo.common.font.FontFactory$FontDef][STATEMENT] Type1 font created: Helvetica-Bold
[033108_044055799][][STATEMENT] Generating page [1]
[033108_044055843][][STATEMENT] Rendering page [2]
[033108_044056064][][STATEMENT] Generating page [2]
[033108_044056096][][STATEMENT] Rendering page [3]
[033108_044056271][][STATEMENT] Generating page [3]
[033108_044056303][][STATEMENT] Rendering page [4]
[033108_044056407][][STATEMENT] Phase2 time used: 876ms
[033108_044056443][][STATEMENT] Continue rendering page [4]
[033108_044056483][][STATEMENT] Generating page [4]
[033108_044056512][][STATEMENT] Rendering page [5]
[033108_044056613][][STATEMENT] Generating page [5]
[033108_044056635][][STATEMENT] Rendering page [6]
[033108_044056653][][STATEMENT] Phase2 time used: 210ms
[033108_044056654][][STATEMENT] Continue rendering page [6]
[033108_044056654][][STATEMENT] Phase2 time used: 1ms
[033108_044056654][][STATEMENT] Continue rendering page [6]
[033108_044056656][][STATEMENT] Phase2 time used: 2ms
[033108_044056666][][STATEMENT] Continue rendering page [6]
[033108_044056676][][STATEMENT] Generating page [6]
[033108_044056681][][STATEMENT] Rendering page [7]
[033108_044056731][][STATEMENT] Phase2 time used: 65ms
[033108_044056731][][STATEMENT] Continue rendering page [7]
[033108_044056731][][STATEMENT] Phase2 time used: 0ms
[033108_044056732][][STATEMENT] Continue rendering page [7]
[033108_044056732][][STATEMENT] Phase2 time used: 0ms
[033108_044056733][][STATEMENT] Continue rendering page [7]
[033108_044056733][][STATEMENT] Generating page [7]
[033108_044056735][][STATEMENT] Phase2 time used: 3ms
[033108_044056736][][STATEMENT] Total time used: 1668ms for processing XSL-FO
[033108_044057034][][STATEMENT] ProxyGenerator creating new page: 1
[033108_044057111][][STATEMENT] ProxyGenerator creating new page: 2
[033108_044057189][][STATEMENT] ProxyGenerator creating new page: 3
[033108_044057242][][STATEMENT] ProxyGenerator creating new page: 4
[033108_044057301][][STATEMENT] ProxyGenerator creating new page: 5
[033108_044057331][][STATEMENT] ProxyGenerator creating new page: 6
[033108_044057343][][STATEMENT] ProxyGenerator creating new page: 7
[033108_044057382][][STATEMENT] Starting Generator.close()
[033108_044057388][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica closed.
[033108_044057388][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Helvetica-Bold closed.
[033108_044057388][oracle.apps.xdo.common.font.FontFactory][STATEMENT] type1.Times-Roman closed.
[033108_044057389][][STATEMENT] Generator.close() took: 6ms
[033108_044057389][][STATEMENT] Total time to process commands from ProxyGenerator tmp file: 643ms
[033108_044057389][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) is called.
[033108_044057412][oracle.apps.xdo.template.FOProcessor][STATEMENT] clearInputs(Object) done. All inputs are cleared.
[033108_044057477][][STATEMENT] initConfig(): config file used :null
[033108_044057478][][STATEMENT] initCustomFactories(): loading custom delivery channels :{}
[033108_044057478][oracle.apps.xdo.delivery.DeliveryManager][STATEMENT] initConfig(): loading default properties :{}
[033108_044057479][oracle.apps.xdo.delivery.DeliveryManager][STATEMENT] createRequest(): called with request type :smtp_email
[033108_044057522][oracle.apps.xdo.delivery.DeliveryManager][STATEMENT] createRequest(): exiting
[033108_044057577][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Adding an attachment ...[filename]=[PurchaseOrder 6023571.pdf], [content-type]=[application/pdf], [index]=[-1], [disposition]=[inline]
[033108_044057585][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Character set for MIME headers : UTF-8
[033108_044057586][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Character encoding for MIME headers : B
[033108_044057588][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Exiting addAttachment()
[033108_044057589][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] submit(): Called
[033108_044057589][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] setDefaultServerProperties(): No default server found for this request type: smtp_email
[033108_044057589][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] setDefaultServerProperties(): properties defined in this request.
[TEMP_DIR:String] [u0350/app/apps/UAT/xx/1.0/log/033108_044049420]
[ASYNC_CHECK_INTERVAL:Integer] [60000]
[HOST:String] [colfarmt.hpa.org.uk]
[SMTP_TO_RECIPIENTS:String] [[email protected]]
[SMTP_ENCODING:String]
[SMTP_CONTENT_FILENAME:String] [messageBody.txt]
[SMTP_CONTENT_TYPE:String] [text/html;charset=UTF-8]
[SMTP_SUBJECT:String] [Purchase Order No: 6023571]
[BUFFERING_MODE:Boolean] [true]
[SMTP_CC_RECIPIENTS:String] [[email protected]]
[SMTP_FROM:String] [[email protected]]
[TEMP_FILE_PREFIX:String] [dlvr]
[PORT:Integer] [(java.lang.Integer]
[RETRY:Integer] [0]
[SMTP_ATTACHMENT:Attachment] [(oracle.apps.xdo.delivery.smtp.Attachment]
[RETRY_INTERVAL:Integer] [60000]
[TEMP_FILE_SUFFIX:String] [.tmp]
[SMTP_ATTACHMENT_FIRST:Boolean] [(java.lang.Boolean]
[SMTP_CHARSET:String] [UTF-8]
[ASYNC_TIMEOUT:Integer] [86400000]
[033108_044057590][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] submit(): BUFFERING_MODE is ON.
[033108_044057590][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] submit(): TEMP_DIR found, start document buffering : /u0350/app/apps/UAT/xx/1.0/log/033108_044049420
[033108_044057590][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] backupDocument(): Starting document buffering.
[033108_044057602][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] backupDocument(): Creating temporary file for buffering : /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/dlvrbrfaxe1m4B55646.tmp
[033108_044057603][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] backupDocument(): 63 bytes have been written to the temporary file.
[033108_044057603][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] filterDocument(): Starting document preprocessing.
[033108_044057603][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] filterDocument(): No native command found for preprocessing, exiting.
[033108_044057603][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] backupDocument(): Finished document buffering.
[033108_044057603][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] submit(): Start reading the buffered document file. : /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/dlvrbrfaxe1m4B55646.tmp
[033108_044057603][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] submit(): Calling DeliveryRequestHandler.submitRequest()
[033108_044057604][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler][STATEMENT] submitRequest(): called
[033108_044057604][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler][STATEMENT] submitRequest(): This request has never been submitted before.
[033108_044057607][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] Start parsing HTML file...(filename:messageBody.txt)(current dir:null)
[033108_044057607][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] Reached the end of InputStream.
[033108_044057608][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Adding an attachment ...[filename]=[messageBody.txt], [content-type]=[text/html;charset=UTF-8], [index]=[-1], [disposition]=[null]
[033108_044057608][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Character set for MIME headers : UTF-8
[033108_044057608][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Character encoding for MIME headers : B
[033108_044057608][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT] addAttachment(): Exiting addAttachment()
[033108_044057609][oracle.apps.xdo.delivery.smtp.Attachment][STATEMENT]
Dear Sir/Madam,
Please review the attached PO 6023571
[033108_044057666][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler][STATEMENT] submitRequest(): Character set for MIME headers : UTF-8
[033108_044057666][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler][STATEMENT] submitRequest(): Character encoding for MIME headers : B
[033108_044058067][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequestHandler][STATEMENT] submitRequest(): exiting
[033108_044058067][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] submit(): Finished calling DeliveryRequestHandler.submitRequest()
[033108_044058067][oracle.apps.xdo.delivery.smtp.SMTPDeliveryRequest][STATEMENT] submit(): Process done successfully. Exiting submit()
[033108_044058085][oracle.apps.xdo.batch.BurstingProcessorEngine][STATEMENT] ========================> startElement() ::: endDocument is entered <========================
[033108_044058086][oracle.apps.xdo.batch.BurstingProcessorEngine][STATEMENT] ========================> startElement() ::: endDocument is entered <========================
Bursting process complete..
Generating Bursting Status Report..
[033108_044058202][oracle.apps.xdo.batch.bursting.FileHandler][STATEMENT] /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/xdo0.tmp is deleted
[033108_044058203][oracle.apps.xdo.batch.bursting.FileHandler][STATEMENT] /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/xdo1.tmp is not deleted
[033108_044058226][oracle.apps.xdo.batch.bursting.FileHandler][STATEMENT] /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/xdo2.tmp is deleted
[033108_044058226][oracle.apps.xdo.batch.bursting.FileHandler][STATEMENT] /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/xdo3.tmp is not deleted
[033108_044058238][oracle.apps.xdo.batch.bursting.FileHandler][STATEMENT] /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/xdo4.tmp is deleted
[033108_044058262][oracle.apps.xdo.batch.bursting.FileHandler][STATEMENT] /u0350/app/apps/UAT/xx/1.0/log/033108_044049420/PurchaseOrder 6023571.pdf is deleted -
How To Prevent Etext Output from Printing on Email Body on bursted report
Hi,
I was hoping somebody can help me out. I have a comma delimited text report that was created for EBS 12.1.1 using an rtf and registered with an output format of E-TEXT Outbound. I need this report emailed as an attachment. I have no problems generating the report and emailing it as an attachment. My problem is that aside from the report being an attachment, the report is also appended in the email body right below my intended email body. The report data can span many, many lines so I only want it attached as a text file and not part of the email body. How do I do this?
Thanks in advance!
====================================================
EBS version: 12.1.1
XML Publisher version: 5.6.3
====================================================
Bursting File:
====================================================
<?xml version="1.0" encoding="UTF-8"?>
<xapi:requestset xmlns:xapi="http://xmlns.oracle.com/oxp/xapi" type="bursting">
<xapi:request select="/ROWSET/EMAIL">
<xapi:delivery>
<xapi:email server="mail.xxx.net" port="25" from="[email protected]" reply-to="[email protected]">
<xapi:message id="123" to="${DEST_EMAIL}" attachment="true" subject="Email Report Testing">
Hello,
Thank you,
To ensure that you're able to receive these messages without delay,
please add [email protected] to your address book
and/or spam filtering software.
</xapi:message>
</xapi:email>
</xapi:delivery>
<xapi:document output="Email Report Testing" delivery="123">
<xapi:template type="etext" location="xdo://XXAPP.XXAPP_BURSTR.en.US/?getSource=true" filter="/ROWSET/EMAIL/DEST_EMAIL!=''"></xapi:template>
</xapi:document>
</xapi:request>
</xapi:requestset>====================================================
Email Sample: (The red text below is the start of the report data that is already in the attachment.
====================================================
Hello,
Please find the attached data between 05-MAR-11 - 10-MAR-11.
Thank you,
To ensure that you're able to receive these messages without delay,
please add [email protected] to your address book
and/or spam filtering software.
<font color="red">SOURCE_CODE,SOURCE_HEADER_NUMBER,INITIAL_PICKUP_DATE,DELIVERY_TYPE,FREIGHT_CODE,SCAC_CODE,PLANT_LOCATION_CODE,PLANT_DESCRIPTION,PLANT_CITY,PLANT_STATE,PLANT_ZIP,PLANT_COUNTRY,CUSTOMER_NUMBER,CUSTOMER_NAME,CUSTOMER_CITY,CUSTOMER_STATE,CUSTOMER_COUNTRY,CUSTOMER_ZIP,SHIPPED_QUANTITY,SRC_REQUESTED_QUANTITY,DET_GROSS_WEIGHT,DEL_GROSS_WEIGHT,SRC_REQUESTED_QUANTITY_UOM,NUMBER_OF_LPN,LLAST_SUN,LAST_SUN
OE....</font>Turn off the viewing option in printer properties.
-
Script task to convert output from a sql query into send mail task body formatting
SSIS 2008R2 Version
Code from script task
Microsoft SQL Server Integration Services Script Task
Write scripts using Microsoft Visual C# 2008.
The ScriptMain is the entry point class of the script.
using System;
using System.Data;
using Microsoft.SqlServer.Dts.Runtime;
using System.Windows.Forms;
namespace ST_29dd6843bd6c4aee9b1656c1bbf55ba8.csproj
[System.AddIn.AddIn("ScriptMain", Version = "1.0", Publisher = "", Description = "")]
public partial class ScriptMain : Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTARTScriptObjectModelBase
#region VSTA generated code
enum ScriptResults
Success = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Success,
Failure = Microsoft.SqlServer.Dts.Runtime.DTSExecResult.Failure
#endregion
public void Main()
Variables varCollection = null;
string header = string.Empty;
string message = string.Empty;
Dts.VariableDispenser.LockForWrite("User::gsEmailMessage");
Dts.VariableDispenser.LockForWrite("User::gsWebserviceName");
Dts.VariableDispenser.LockForWrite("User::gsNoOfCallsInADay");
Dts.VariableDispenser.LockForWrite("User::gsCalledBySystem");
Dts.VariableDispenser.GetVariables(ref varCollection);
//Set the header message for the query result
if (varCollection["User::gsEmailMessage"].Value == string.Empty)
header = "Hi, Count is greater then 50 :\n\n";
//header = "Execute SQL task output sent using Send Email Task in SSIS:\n\n\n";
header += "----------------------------------------------------------------------------------------------------------------------" + "\n";
header += string.Format("{0}\t\t\t\t{1}\t\t{2}\n", "WebService Name", "No Of Calls In A Day", "Called By System");
header += "----------------------------------------------------------------------------------------------------------------------" + "\n";
varCollection["User::gsEmailMessage"].Value = header;
//Format the query result with tab delimiters
message = String.Format("<HTML><BODY><P>{0}</P><P>{1}</P><P>{2}</P></BODY></HTML>",
varCollection["User::gsWebserviceName"].Value,
varCollection["User::gsNoOfCallsInADay"].Value,
varCollection["User::gsCalledBySystem"].Value);
varCollection["User::gsEmailMessage"].Value = varCollection["User::gsEmailMessage"].Value + message + "\n";
Dts.TaskResult = (int)ScriptResults.Success;
Above code will return data in below format and then i send this output in aemail using send mail task.
Hi, count is greater then 50 :
WebService Name
No Of Calls In A Day Called By System
WebServiceone 1
Internetbutiken
WebServiceGetdetailstwo 1
Internetbutiken
Servicenamethree 2
MOB
As you can see above code is not in align as if we service name is shorter then 2nd column get disallign and its not look good.I need output should be like below.
Hi, count is greater then 50 :
WebService Name
No Of Calls In A Day Called By System
WebServiceone 1
Internetbutiken
WebServiceGetdetailstwo 1
Internetbutiken
Servicenamethree 2
MOB
Please suggest something...
Thanks
SR_MCTSSee code explained here
http://microsoft-ssis.blogspot.in/2013/08/sending-mail-within-ssis-part-2-script.html
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs
This will not help.As I am not creating smtp connectin ,send from ,send to in script task.I am just creating email body from sql output. -
Not able to see the output in sost when sending the image in email body
I am sending the image in email body and when m trying to see the output in SOST then it showing a page 'you are not connected to the internet'
I am able to see the output when m saving local objects but when m saving it in some package its showing me this page
Kindly help it
Regards
Pratham KapoorHello Prakash,
Thanks for the reply
I am able to see the mail in SOST but when I click on the Display Document to see the content of the mail then I am getting this error of 'you are not connected to the internet'
My Program is to put the logo in my email body
I am sending you the attached image -
BI Publisher 11g - not able to get TEXT output in the email body
I am trying to send TEXT report output generated by ETEXT templates in the email body by setting up the Bursting defintion in the Data Model using the following query. It is always sending it as an attachment though PARAMETER6 is set as false. Please advise on how to make it work?
It seems PARAMETER6 does not have any effect on how it works.
select
customer_id KEY,
'Etext_Template' TEMPLATE
'ETEXT' TEMPLATE_FORMAT,
'en-US' LOCALE,
'TEXT' OUTPUT_FORMAT,
'EMAIL' DEL_CHANNEL,
null TIMEZONE,
null CLAENDAR,
customer_name || '_status' OUTPUT_NAME,
'true' SAVE_OUTPUT,
'[email protected]' PARAMETER1,
null PARAMETER2,
'[email protected]' PARAMETER3,
'Status Report for ' || customer_name PARAMETER4,
null PARAMETER5,
'false' PARAMETER6,
null PARAMETER7,
null PARAMETER8
from dpmi_customers_v
The Oracle BI Publisher version is 11.1.1.5.0.
Thanks,
SujaControl click or Right Click on the attachment in the body of the email and select 'View as icon'.
There is a (paid for) mail plugin called Attachment Tamer which helps Mail do a much better of handling attachments - giving much more control over how they are viewed/arranged/received. It's available from http://lokiware.info/Attachment-Tamer
(Usual caveat, I've no connection with Lokiware, just happy with their product). -
To send output as email in PDF format
I am using Function module <b>so_new_document_att_send_api1</b> to send my report output as Email.
Please tell me how to send it in PDF format.1) FIRST GENERATE SPOOL REQUEST for ur output THEN DOWNLOAD this spool request to a PDF file via REPORT PROGRAM - RSTXPDFT4 .
2) then use this program to send this PDf via mail (also see ur SCOT setttings) -
*& Report ZGILL_SENDMAIL_PDF *
REPORT ZGILL_SENDMAIL_PDF .
INCLUDE ZGILL_INCMAIL. "SEE BELOW FOR INCLUDE PROGRAM CODE.
DATA
DATA : itab LIKE tline OCCURS 0 WITH HEADER LINE.
DATA : file_name TYPE string.
data : path like PCFILE-PATH.
data : extension(5) type c.
data : name(100) type c.
SELECTION SCREEN
PARAMETERS : receiver TYPE somlreci1-receiver lower case DEFAULT '[email protected]'.
PARAMETERS : p_file LIKE rlgrap-filename
OBLIGATORY DEFAULT 'C:\TEMP\SALARY_SLIP1.PDF'.
AT SELECTION SCREEN
AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
CLEAR p_file.
CALL FUNCTION 'F4_FILENAME'
IMPORTING
file_name = p_file.
START-OF-SELECTION
START-OF-SELECTION.
PERFORM ml_customize USING 'Tst' 'Testing'.
PERFORM ml_addrecp USING receiver 'U'.
PERFORM upl.
PERFORM doconv TABLES itab objbin.
PERFORM ml_prepare USING 'X' extension name.
PERFORM ml_dosend.
SUBMIT rsconn01
WITH mode EQ 'INT'
AND RETURN.
FORM
FORM upl.
file_name = p_file.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = file_name
filetype = 'BIN'
TABLES
data_tab = itab
EXCEPTIONS
file_open_error = 1
file_read_error = 2
no_batch = 3
gui_refuse_filetransfer = 4
invalid_type = 5
no_authority = 6
unknown_error = 7
bad_data_format = 8
header_not_allowed = 9
separator_not_allowed = 10
header_too_long = 11
unknown_dp_error = 12
access_denied = 13
dp_out_of_memory = 14
disk_full = 15
dp_timeout = 16
OTHERS = 17.
path = file_name.
CALL FUNCTION 'PC_SPLIT_COMPLETE_FILENAME'
EXPORTING
complete_filename = path
CHECK_DOS_FORMAT =
IMPORTING
DRIVE =
EXTENSION = extension
NAME = name
NAME_WITH_EXT =
PATH =
EXCEPTIONS
INVALID_DRIVE = 1
INVALID_EXTENSION = 2
INVALID_NAME = 3
INVALID_PATH = 4
OTHERS = 5
ENDFORM. "upl
*********************iNCLUDE pROGRAM********************************************
*& Include ZGILL_INCMAIL *
Data
DATA: docdata LIKE sodocchgi1,
objpack LIKE sopcklsti1 OCCURS 1 WITH HEADER LINE,
objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE,
objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE,
objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE,
objhex LIKE solix OCCURS 10 WITH HEADER LINE,
reclist LIKE somlreci1 OCCURS 1 WITH HEADER LINE.
DATA: tab_lines TYPE i,
doc_size TYPE i,
att_type LIKE soodk-objtp.
DATA: listobject LIKE abaplist OCCURS 1 WITH HEADER LINE.
FORM
FORM ml_customize USING objname objdesc.
Clear Variables
CLEAR docdata.
REFRESH objpack.
CLEAR objpack.
REFRESH objhead.
REFRESH objtxt.
CLEAR objtxt.
REFRESH objbin.
CLEAR objbin.
REFRESH objhex.
CLEAR objhex.
REFRESH reclist.
CLEAR reclist.
REFRESH listobject.
CLEAR listobject.
CLEAR tab_lines.
CLEAR doc_size.
CLEAR att_type.
Set Variables
docdata-obj_name = objname.
docdata-obj_descr = objdesc.
ENDFORM. "ml_customize
FORM
FORM ml_addrecp USING preceiver prec_type.
CLEAR reclist.
reclist-receiver = preceiver.
reclist-rec_type = prec_type.
APPEND reclist.
ENDFORM. "ml_customize
FORM
FORM ml_addtxt USING ptxt.
CLEAR objtxt.
objtxt = ptxt.
APPEND objtxt.
ENDFORM. "ml_customize
FORM
FORM ml_prepare USING bypassmemory whatatt_type whatname.
IF bypassmemory = ''.
Fetch List From Memory
CALL FUNCTION 'LIST_FROM_MEMORY'
TABLES
listobject = listobject
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
MESSAGE ID '61' TYPE 'E' NUMBER '731'
WITH 'LIST_FROM_MEMORY'.
ENDIF.
CALL FUNCTION 'TABLE_COMPRESS'
IMPORTING
COMPRESSED_SIZE =
TABLES
in = listobject
out = objbin
EXCEPTIONS
OTHERS = 1
IF sy-subrc <> 0.
MESSAGE ID '61' TYPE 'E' NUMBER '731'
WITH 'TABLE_COMPRESS'.
ENDIF.
ENDIF.
Header Data
Already Done Thru FM
Main Text
Already Done Thru FM
Packing Info For Text Data
DESCRIBE TABLE objtxt LINES tab_lines.
READ TABLE objtxt INDEX tab_lines.
docdata-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
CLEAR objpack-transf_bin.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = 'TXT'.
APPEND objpack.
Packing Info Attachment
att_type = whatatt_type..
DESCRIBE TABLE objbin LINES tab_lines.
READ TABLE objbin INDEX tab_lines.
objpack-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objbin ).
objpack-transf_bin = 'X'.
objpack-head_start = 1.
objpack-head_num = 0.
objpack-body_start = 1.
objpack-body_num = tab_lines.
objpack-doc_type = att_type.
objpack-obj_name = 'ATTACHMENT'.
objpack-obj_descr = whatname.
APPEND objpack.
Receiver List
Already done thru fm
ENDFORM. "ml_prepare
FORM
FORM ml_dosend.
CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
EXPORTING
document_data = docdata
put_in_outbox = 'X'
commit_work = 'X' "used from rel. 6.10
IMPORTING
SENT_TO_ALL =
NEW_OBJECT_ID =
TABLES
packing_list = objpack
object_header = objhead
contents_bin = objbin
contents_txt = objtxt
CONTENTS_HEX = objhex
OBJECT_PARA =
object_parb =
receivers = reclist
EXCEPTIONS
too_many_receivers = 1
document_not_sent = 2
document_type_not_exist = 3
operation_no_authorization = 4
parameter_error = 5
x_error = 6
enqueue_error = 7
OTHERS = 8
IF sy-subrc <> 0.
MESSAGE ID 'SO' TYPE 'S' NUMBER '023'
WITH docdata-obj_name.
ENDIF.
ENDFORM. "ml_customize
FORM
FORM ml_spooltopdf USING whatspoolid.
DATA : pdf LIKE tline OCCURS 0 WITH HEADER LINE.
Call Function
CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
EXPORTING
src_spoolid = whatspoolid
TABLES
pdf = pdf
EXCEPTIONS
err_no_otf_spooljob = 1
OTHERS = 12.
Convert
PERFORM doconv TABLES pdf objbin.
ENDFORM. "ml_spooltopdf
FORM
FORM doconv TABLES
mypdf STRUCTURE tline
outbin STRUCTURE solisti1.
Data
DATA : pos TYPE i.
DATA : len TYPE i.
Loop And Put Data
LOOP AT mypdf.
pos = 255 - len.
IF pos > 134. "length of pdf_table
pos = 134.
ENDIF.
outbin+len = mypdf(pos).
len = len + pos.
IF len = 255. "length of out (contents_bin)
APPEND outbin.
CLEAR: outbin, len.
IF pos < 134.
outbin = mypdf+pos.
len = 134 - pos.
ENDIF.
ENDIF.
ENDLOOP.
IF len > 0.
APPEND outbin.
ENDIF.
ENDFORM. "doconv
**********************INCLUDE END********************************
Maybe you are looking for
-
How to read from MS Excel file ?
Which is the best way to read from a MS Excel file ? I need to read both "column-wise" and "row-wise". Is there any free software or java api which does this. I have come across some paid softwares which do that, but i would prefer using something wh
-
I do not see an icon for photos on my iCloud page. Additionally, how do I send my photos to iCloud?
-
My new 4s is sending email instead of my name on messages??
I just bought a new 4s and my daughter says its posting my email on imessage instead of my name?? Trying to get it set up.
-
Reagrding Lead Questionnaire (SURVEY)
Hi All, I want to display the answer based on some condition for survey in web ui.Can any bode tell me if i use (Dynamic List Box with Single Selection in CRM_SURVEY_SUITE Tranx ) this option for insert the answer.it is not allowed me to ins
-
Create Message Bundle classes for EO objects in Jdeveloper
How to create Message Bundle classes(extending JboResourceBundle) for an EO object using Jdeveloper. The ADFToyStoreDemo contains these bundle classes for the EO. However, when I complete create a new EO, I don't get a default Message Bundle class.