Bounce notification as "RFC822.eml" attachment to
If outbound mails are undeliverable, our Lotus Notes users receives bounce notification messages (created by ESA) sometimes as attachement (filename: "RFC822.eml") to a Notes-created DSN.
The .eml attachment contains $BounceReason from ESA's point of view.
Body of Notes-DSN:
"[MIME content for this item is stored in attachment $RFC822.eml. Parsing MIME content failed: Incorrect format in MIME data..]"
Seems that the Ironport bounce is not interpretable by Notes. Why? And how can we remedy this defect?
guys, please run bounceconfig and change the
Please enter the maximum size of the original message (in bytes) to include in
the bounced notification message.
[10240]>
from 10 K to the maximum message size in your Mail Flow Policies.
Thanks John and Marting for the tip.
Keep in mind if you or your customer are using CM (centralized Management) this can cause performance issue.
But I used this with two different customer using Lotus Domino/Notes and IronPort and this fixed the issue.
In fact, the .eml file can be saves as .txt and you can see the NDF there.
Regards,
Valter Pereira
IronPort Customer Support Engineer
Similar Messages
-
Bounced Notification messages in Mail
Help me out!! I have been getting "Bounced Notification Messages" in my mail for the past few days. Have dumped all messages and cleared my mailbox, yet the messages still claim I have exceeded my "quota". Sorry for the stupid question, but how do i correct this, and what can I do to avoid maxing out the "quota"??
Thanks, I figured it out thru my "server". Just had to dump a ton stuff hanging around for too long. All clear now.
RL -
Is there a way to send the email notification as a PDF attachment and the email receipt as an email
Has anyone found a way to send the email notification as a PDF attachment rather than email? I would still like to send the receipt as an email though? Any thoughts or experiences out there?
Thanks for prompt response. Does this mean that there are future plans to do this?
The forms received are used as part of a registration process into aonther system and aren't that User friendly in an email form. They have to be processed as received, so not efficiet to go in through the back end. -
On an iMac how do you open a .eml attachment in gmail ?
On an iMac how do you open a .eml attachment in gmail ?
it's an outlook express format
http://filext.com/file-extension/EML
you can likely not open it in browser based gmail unless google support it which i doubt -
PM Notification Attachments via "Create Attachment" vs "Creat Ext Doc (URL)
Uwe -
Did you create the PM notification attachment using
Create Attachment
or Create External Document (URL) ???
Mine were created as attachments, not as external documents - that may be why your code isn't working ...
I'm going to try to do an external document create and see if that works ...
DaveFUNCTION z_pm_attachment_and_url.
*"*"Interface local:
*" IMPORTING
*" VALUE(I_QMNUM) TYPE QMNUM OPTIONAL
*" VALUE(I_AUFNR) TYPE AUFNR OPTIONAL
*" VALUE(I_URL) TYPE SO_URL OPTIONAL
*" VALUE(I_FILE) TYPE ZPMCT002 OPTIONAL
*" VALUE(I_FILENAME) TYPE STRING OPTIONAL
*" TABLES
*" T_RETURN STRUCTURE BAPIRET2
* Objetos locais
DATA:
vl_url TYPE so_url,
vl_path TYPE string, "#EC NEEDED
vl_loopc TYPE sy-loopc,
vl_lines TYPE sy-loopc,
vl_filename TYPE string,
vl_filelength TYPE i,
it_url TYPE STANDARD TABLE OF sood-objdes,
it_obj_cont TYPE STANDARD TABLE OF solix,
wa_obj TYPE borident,
wa_obj_cont TYPE soli,
wa_obj_data TYPE sood1,
wa_folder_id TYPE soodk,
wa_document_id TYPE sofmk.
DEFINE valida_retorno.
loop at t_return into t_return.
if t_return-type eq zgtpm_e.
exit.
endif.
endloop.
if t_return-type eq zgtpm_e.
exit.
endif.
END-OF-DEFINITION.
* === Valida parâmetros de entrada
IF i_qmnum IS INITIAL AND i_aufnr IS INITIAL.
* Nenhum objeto informado: Informe Nota ou Ordem de Manutenção
PERFORM mensagem_retorno_tab
USING
'ZPM_PORTAL' zgtpm_e '055' '' '' '' ''
CHANGING
t_return[].
EXIT.
ELSEIF NOT i_qmnum IS INITIAL AND NOT i_aufnr IS INITIAL.
* Informe apenas um objeto: Nota ou Ordem de Manutenção
PERFORM mensagem_retorno_tab
USING
'ZPM_PORTAL' zgtpm_e '054' '' '' '' ''
CHANGING
t_return[].
EXIT.
ENDIF.
IF i_url IS INITIAL
AND i_filename IS INITIAL.
* Informe Anexo e/ou URL
PERFORM mensagem_retorno_tab
USING
'ZPM_PORTAL' zgtpm_e '060' '' '' '' ''
CHANGING
t_return[].
EXIT.
ENDIF.
* === Define Categoria de objeto
IF NOT i_qmnum IS INITIAL.
wa_obj-objkey = i_qmnum.
wa_obj-objtype = 'BUS2038'. " Nota PM
ENDIF.
IF NOT i_aufnr IS INITIAL.
wa_obj-objkey = i_aufnr.
wa_obj-objtype = 'BUS2007'. " Ordem de manutenção
ENDIF.
* === Anexo
IF NOT i_filename IS INITIAL.
* Conteúdo do arquivo
IF NOT i_file[] IS INITIAL.
it_obj_cont[] = i_file[].
DESCRIBE TABLE it_obj_cont LINES vl_lines.
READ TABLE it_obj_cont INTO wa_obj_cont INDEX vl_lines.
vl_filelength =
( 255 * ( vl_lines - 1 ) ) + STRLEN( wa_obj_cont ).
ELSE.
CALL FUNCTION 'GUI_UPLOAD'
EXPORTING
filename = i_filename
filetype = 'BIN'
IMPORTING
filelength = vl_filelength
TABLES
data_tab = it_obj_cont
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.
IF sy-subrc <> 0.
PERFORM mensagem_retorno_tab
USING
sy-msgid sy-msgty sy-msgno sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
CHANGING
t_return[].
EXIT.
ENDIF.
ENDIF.
* Pasta de Destino
PERFORM get_folder CHANGING wa_folder_id t_return[].
valida_retorno.
* SAPoffice: definição do objeto, modificar atributos
wa_obj_data-objla = sy-langu. " Idioma
wa_obj_data-objsns = 'O'. " Objeto confidencial
wa_obj_data-objlen = vl_filelength. " Tamanho conteúdo documento
wa_obj_data-ownnam = sy-uname. " Nome proprietário
CALL METHOD cl_report_viewer=>split_path_filename
EXPORTING
i_filename = i_filename
IMPORTING
e_path = vl_path
e_filename = vl_filename.
SPLIT vl_filename AT '.' INTO
wa_obj_data-objdes " Descrição breve do conteúdo
wa_obj_data-file_ext. " Extensão de file de uma aplicação PC
CONDENSE wa_obj_data-file_ext NO-GAPS.
* Insere Objeto (Anexo)
PERFORM object_insert
USING
'EXT' " Anexo
wa_obj_data
wa_folder_id
it_obj_cont
CHANGING
wa_document_id
t_return[].
valida_retorno.
* Relacionamento Objeto PM x Anexo
PERFORM relation_create
USING
'ATTA'
wa_obj
wa_document_id
CHANGING
t_return[].
valida_retorno.
ENDIF.
* === URL
IF NOT i_url IS INITIAL.
* Inicializa estruturas comuns a Anexo e URL
CLEAR:
it_obj_cont,
wa_obj_cont,
wa_obj_data,
wa_folder_id,
wa_document_id.
* Conteúdo da URL
MOVE i_url TO vl_url.
WHILE NOT vl_url IS INITIAL.
CONCATENATE '&KEY&' vl_url(250) INTO wa_obj_cont.
APPEND wa_obj_cont TO it_obj_cont.
SHIFT vl_url LEFT BY 250 PLACES.
ENDWHILE.
* Pasta de Destino
PERFORM get_folder CHANGING wa_folder_id t_return[].
valida_retorno.
* SAPoffice: definição do objeto, modificar atributos
wa_obj_data-objla = sy-langu. " Idioma
wa_obj_data-objsns = 'O'. " Objeto confidencial
wa_obj_data-ownnam = sy-uname. " Nome proprietário
SPLIT i_url AT '/' INTO TABLE it_url.
DESCRIBE TABLE it_url LINES vl_loopc.
READ TABLE it_url INDEX vl_loopc
INTO wa_obj_data-objdes. " Descrição breve do conteúdo
* Insere Objeto (URL)
PERFORM object_insert
USING
'URL' " Link Inter/Intranet
wa_obj_data
wa_folder_id
it_obj_cont
CHANGING
wa_document_id
t_return[].
valida_retorno.
* Relacionamento Objeto PM x URL
PERFORM relation_create
USING
'URL'
wa_obj
wa_document_id
CHANGING
t_return[].
valida_retorno.
ENDIF.
* === Libera objetos locais
FREE:
vl_url,
vl_path,
vl_loopc,
vl_lines,
vl_filename,
vl_filelength,
it_url,
it_obj_cont,
wa_obj,
wa_obj_cont,
wa_obj_data,
wa_folder_id,
wa_document_id.
ENDFUNCTION.
***INCLUDE LZGPM0010F01 .
*& Form mensagem_retorno_tab
FORM mensagem_retorno_tab
USING
p_msgid TYPE symsgid
p_msgty TYPE symsgty
p_msgno TYPE symsgno
p_msgv1 TYPE any
p_msgv2 TYPE any
p_msgv3 TYPE any
p_msgv4 TYPE any
CHANGING
t_return TYPE ty_return.
DATA:
vl_msgty TYPE symsgty,
wa_return LIKE LINE OF t_return.
IF p_msgty IS INITIAL.
MOVE zgtpm_e TO vl_msgty.
ELSE.
MOVE p_msgty TO vl_msgty.
ENDIF.
IF p_msgno IS INITIAL.
EXIT.
ENDIF.
MOVE p_msgid TO wa_return-id.
MOVE vl_msgty TO wa_return-type.
MOVE p_msgno TO wa_return-number.
MOVE p_msgv1 TO wa_return-message_v1.
MOVE p_msgv2 TO wa_return-message_v2.
MOVE p_msgv3 TO wa_return-message_v3.
MOVE p_msgv4 TO wa_return-message_v4.
MESSAGE ID p_msgid TYPE vl_msgty NUMBER p_msgno
WITH p_msgv1 p_msgv2 p_msgv3 p_msgv4
INTO wa_return-message.
APPEND wa_return TO t_return.
FREE: vl_msgty, wa_return.
ENDFORM. " mensagem_retorno_tab
*& Form get_folder
FORM get_folder
CHANGING
w_folder_id TYPE soodk
t_return TYPE ty_return.
CALL FUNCTION 'SO_FOLDER_ROOT_ID_GET'
EXPORTING
region = 'B' " ?
IMPORTING
folder_id = w_folder_id
EXCEPTIONS
OTHERS = 1.
IF sy-subrc <> 0.
PERFORM mensagem_retorno_tab
USING
sy-msgid sy-msgty sy-msgno sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
CHANGING
t_return[].
ENDIF.
ENDFORM. " get_folder
*& Form object_insert
FORM object_insert USING
p_objtp TYPE so_obj_tp
w_obj_data TYPE sood1
w_folder_id TYPE soodk
t_obj_cont TYPE zpmct002
CHANGING
w_document_id TYPE sofmk
t_return TYPE ty_return.
* Objetos locais
DATA:
it_objcont TYPE STANDARD TABLE OF soli,
it_obj_head TYPE STANDARD TABLE OF soli,
wa_obj_id TYPE soodk,
wa_obj_cont LIKE LINE OF t_obj_cont.
* RAW to CHAR
LOOP AT t_obj_cont INTO wa_obj_cont.
APPEND wa_obj_cont TO it_objcont.
CLEAR wa_obj_cont.
ENDLOOP.
* Insere objeto
CALL FUNCTION 'SO_OBJECT_INSERT'
EXPORTING
folder_id = w_folder_id
object_type = p_objtp
object_hd_change = w_obj_data
owner = sy-uname
IMPORTING
object_id = wa_obj_id
TABLES
objhead = it_obj_head
objcont = it_objcont
EXCEPTIONS
active_user_not_exist = 1
communication_failure = 2
component_not_available = 3
dl_name_exist = 4
folder_not_exist = 5
folder_no_authorization = 6
object_type_not_exist = 7
operation_no_authorization = 8
owner_not_exist = 9
parameter_error = 10
substitute_not_active = 11
substitute_not_defined = 12
system_failure = 13
x_error = 14
OTHERS = 15.
IF sy-subrc = 0.
w_document_id-foltp = w_folder_id-objtp.
w_document_id-folyr = w_folder_id-objyr.
w_document_id-folno = w_folder_id-objno.
w_document_id-doctp = wa_obj_id-objtp.
w_document_id-docyr = wa_obj_id-objyr.
w_document_id-docno = wa_obj_id-objno.
ELSE.
PERFORM mensagem_retorno_tab
USING
sy-msgid sy-msgty sy-msgno sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
CHANGING
t_return[].
ENDIF.
* Libera objetos locais
FREE:it_objcont, it_obj_head, wa_obj_id, wa_obj_cont.
ENDFORM. " object_insert
*& Form relation_create
FORM relation_create
USING
p_relationtype TYPE binreltyp
w_obj TYPE borident
w_document_id TYPE sofmk
CHANGING
t_return TYPE ty_return.
DATA wa_doc TYPE borident.
wa_doc-objtype = 'MESSAGE'.
CASE p_relationtype.
WHEN 'ATTA'.
wa_doc-objkey = w_document_id(34).
WHEN 'URL'.
wa_doc-objkey = w_document_id.
WHEN OTHERS.
ENDCASE.
CALL FUNCTION 'BINARY_RELATION_CREATE'
EXPORTING
obj_rolea = w_obj
obj_roleb = wa_doc
relationtype = p_relationtype
EXCEPTIONS
no_model = 1
internal_error = 2
unknown = 3
OTHERS = 4.
IF sy-subrc = 0.
COMMIT WORK AND WAIT.
CASE p_relationtype.
WHEN 'ATTA'.
* O anexo foi criado com êxito
PERFORM mensagem_retorno_tab
USING
'SGOS_MSG' zgtpm_s '043' '' '' '' ''
CHANGING
t_return[].
WHEN 'URL'.
* A URL foi criada com êxito
PERFORM mensagem_retorno_tab
USING
'ZPM_PORTAL' zgtpm_s '059' '' '' '' ''
CHANGING
t_return[].
WHEN OTHERS.
ENDCASE.
ELSE.
PERFORM mensagem_retorno_tab
USING
sy-msgid sy-msgty sy-msgno sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
CHANGING
t_return[].
ENDIF.
FREE wa_doc.
ENDFORM. " relation_create -
Icon bounce notification problem with hidden dock
Hi: I think this has been reported on macosxhints for the mail app, but I'm seeing it in other applications too. Specifically, I have Adium setup to notify me via a bouncing dock icon on new messages. I also have a hidden dock.
I've noticed that on new messages, initially the dock icon bounce will be visible. But if I mouse over the dock area to unhide + hide the dock, the bouncing will no longer be visible (it is still bouncing, and I can unhide the dock to confirm - just not visible when the dock is hidden anymore). If I click on the dock icon to check my message, any subsequent messages from Adium result in the dock icon bounce not being visible with the dock hidden. Once again, it is bouncing, just not visible.
As described in http://www.macosxhints.com/article.php?story=20090330170041769, there are certain ways to avoid this, or even to recover from this, but I end up missing my IMs pretty often.
Any ideas? Thanks!Thank you Barry. I wonder if anyone else has the answer to that question. I have many different view options for different folders, and it would be a pain to have to reset each one of them.
-
So...we have Symantec DLP running. When a user sends an email that contains data blocked by a Symantec DLP policy they get an email from DLP saying their email was blocked. They also get an undeliverable from our Exchange environment saying ironport.domain.com #550 5.7.1 $SENDER$, the email was blocked because confidential data has been detected. ##
We want to stop the Ironport undeliverables from being sent to the users. Is there a way to stop the Ironport from sending the confidential data ndr to Exchange?Hello Claire,
I am not quiet certain what your process flow is actually, is Symantec DLP an external host the ESA delivers to, or is it installed on the Exchange server? I am asking because it seems there is a policy on Symantec DLP that creates a notification, but then passes the message to the exchange server.
Regards,
Andreas -
Attach PDF file to Service notification
Hi Everyone,
Can somebody tell me how I can attach PDF file from local folder into the attachment list in the service notification(tcode IW52) ?
Also how i can get the list of documents attached to the service notification ?
I should attach the file from module pool program(from custom transaction).
Is there any FM or some class methods that can make the attachment ?
Thanks,
Dime Slavkov1. Make your pdf files readily available on your PC desktop.
2. Go to IW52, Click on GOS icon, Create... --> Create Attachment.
You will get a file select Dialog box, refer to your desktop file and attach. You can attach number of files this way. If you want to see the files you've attached, click on the Attachment list shown below Create.. in the above picture. You will get the list of all files attached. You can choose anyone and view.
KJogeswaraRao -
Extended Notification - Attachment issue
Hi Experts,
I configured Extended notification and its working is fine.
But the issue is attachment is not coming with the notification.
Actually the work item has the two attachments and in Portal UWL i can able to see the attachments.
But the notification triggered by Extended notification, there is no attachment.
The notification should have the attachments as like work item.
Can any one help me on this?
Thanks in Advance,
Nandini.Hi Sriram,
"The job for the SWN_SELSEN report checks whether there is a schedule that needs to be executed. If this is the case, the report selects work items or delivers notifications and sets a time stamp. If the schedule was not executed at the intended time, this is indicated in the time stamp. The schedule is executed the next time the job is started."
Take a look at this link.
[Link|http://help.sap.com/saphelp_nw70/helpdata/En/17/8d5c6ccd0a9a4498901ae5c3b5bac7/content.htm]
Regards
Anik -
Rejection comments as an attachment to notification
Hi All,
I am creating attachment on rejection of workitem (MM02) through BO SOFM method CREATE.
Now my requirement is to send the rejection comments (as the notification along with the attachment created) to the workflow initiator.
Please let me know how this can be achieved or if any other way of sending the rejection comments.
Thanks,
SangeetaHello Sangeeta !
Do you want rejection comments should be sent as an attachment in notification or you want send reject comments as notification without attachment ?
If you want to send the rejection comments in attachment , create a method in the business object using the function module SAP_WAPI_ATTACHMENT_ADD.Create a background task with this method and pass the export parameters to the next task which should be a mail step.The approver should attach the rejection comment document in the previous step( i.e., user decision step) before clicking reject button.
If you want the rejection comments to be sent as notification without an attachment, create a method using function module CATSXT_SIMPLE_TEXT_EDITOR.Create a task based on this method.The agent of this task should be the agent who carried out rejection.Incorporate this step in workflow after decision step.Create a mail step as next step in workflow.Pass the comment details from the previous task step to mail step and send it to initiator.
Regards,
S.Suresh -
Remove Notification Detail Link attachment
Hello.
Is it possible removing the attachment "Notification Detail Link.html" attached in the outgoing notification EMails? I know that I can do so by changing the notification preference to be "HTML mail" but I want this to be done just for one workflow(notification) and not for all. Is it possible?
Thanks in advance.
SonaliOracle Workflow User's Guide
Release 2.6.3
Part Number B10285-02
To Respond to an HTML E-mail Notification
Attention: If your notification preference is 'HTML Mail with attachments', an HTML-formatted e-mail notification always includes one standard attachment. The attachment is called Notification Detail Link and it provides a direct link to your notification in the Notification Details web page.
If your notification preference is 'HTML mail', then your HTML-formatted e-mail notification does not include this standard attachment. However, if custom attachments have been defined for this individual notification in its workflow process, those attachments will still be included.
“Actually these instructions are less than clear. Use the notification preference MAILTEXT, MAILHTM2 (with optional developer attachments).”
[Oracle Workflow User's Guide|http://download.oracle.com/docs/cd/B12037_01/workflow.101/b10285/notif04.htm]
Regards -
Workflow outbound notification not displaying certain information
Hi All,
We have an issue with PO notification. Randomly some of the PO approval notification emails are not displaying certain feilds like Ship-to, bill-to and PO Number, but it displays the PO lines properly. Also this is only happening for POs having attachments.
Blank fields in PO Approval Emails
Have found a bug "Bug 2646120: E-MAILED PO DOES NOT DISPLAY ADDRESSES OF SUPPLIER, SHIP-TO OR BILL-TO" in metalink which is similar , but it seems to be setup issue. In our case issue is getting fixed after we bounce notification mailer. I think this is happening because of workflow reaching certain limits or either some or other bug with workflow. Please let me know if any one had similar experiences.
Thanks,
AdityaHi Hussain,
We are on 11.5.10.2 and OS is RHEL 5, issue is that at the moment i dont have access to logs (I hoping to see errors similar to out of memory ;-) to justify the case) . Was checking whether any one has seen similar issues and are there any limitations with mail size/attachment size for workfow outbound notification. I could not get this info in metalink or google.
Thanks,
Aditya -
How to create an order based on Notification through BAPI_ALM_ORDER_MAINTAIN
Hi
I need to create an order based on the notification no. This is manually can be done using the Standard T.Code IW34.I am using BAPI_ALM_ORDER_MAINTAIN to create an order based on Notification. I am getting the below message( which is success message)
Order %00000000001 saved with number 40001258
BAPI control was ended
Though order is created it not assigned to notification No. I am using ref key as '%00000000001' and also I tried with '%0000000000140232323' where 40232323 is notification No.
And if I checked in order the notification No is assigned to order as '%00000000001'. And when I check back the Notification, the order is not assigned to Notification No. How to assign the created order no to Notification No.
Code is attached for Ref.
Now the problem is the order is not assigned to notification no. Is there any FM or BAPI to do the same fucntionality..!
Regards,
AmarHello Amarnadh,
Keng Haw Soon is right, object key should always have the client like 010.
In your code you were passing it without the client.
Pass like below and it will work.
ls_methods-objectkey = '%00000000001000040232323'.
Regards,
Thanga -
Notifications not working at times- is there a ...
OSX 10.10.2 with Version 7.2 (412)
Bounce Nofiications do not work for new messages at times ---- This means that the skype icon is not bouncing when I come back to mac.
Does it have a time out period ?
1. when I tested it, going to another window in my mac , my friend messaged me, and icon starts to bounce- notification works
2. when I came back to mac after 30 minutes or so, there is no bounce, but 2 people messaged me.
3. Same thing happens in morning when I come to mac. No bounce-- but people messaged me.Try:
- iOS: Not responding or does not turn on
- Also try DFU mode after try recovery mode
How to put iPod touch / iPhone into DFU mode « Karthik's scribblings
- If not successful and you can't fully turn the iOS device fully off, let the battery fully drain. After charging for an least an hour try the above again.
- Try another cable
- Try on another computer
- If still not successful that usually indicates a hardware problem and an appointment at the Genius Bar of an Apple store is in order.
Apple Retail Store - Genius Bar -
Schedule webi report to destination to Inbox AND send email notification
I'm writing a new process that will schedule a webi report. The output of the report needs to be delivered to multiple user's BO Inboxes AND an email notification (without the report attached) needs to be sent telling them that they have a new report to view in their Inbox. Trying to mimic how this is done via CMC Schedule - Notification and Destination tabs.
I can get it to deliver the report to the Inbox and I can get it to send an email seperately, but the problem I'm running into is that I can't get it to do both in the same process. Here is the code snippet that I've written. Any assistance would be appreciated.
// Retrieve the managed plugin
IInfoObjects managedInfoObjects = infoStore.query("Select SI_DEST_SCHEDULEOPTIONS, SI_PROGID From CI_SYSTEMOBJECTS Where SI_NAME = 'CrystalEnterprise.Managed'");
IInfoObject infoObject = (IInfoObject)managedInfoObjects.get(0);
IDestinationPlugin destinationPlugin = (IDestinationPlugin)infoObject;
IManaged managed = (IManaged)destinationPlugin;
// Set the destination to inbox
IManagedOptions managedOptions = (IManagedOptions)managed.getScheduleOptions();
managedOptions.setDestinationOption(IManagedOptions.CeDestinationOption.ceInbox);
managedOptions.setSendOption(IManagedOptions.CeManagedSendOption.ceCopy);
managedOptions.setIncludeInstance(true);
managedOptions.getDestinations().add(new Integer(ditUserID1));
managedOptions.getDestinations().add(new Integer(ditUserID2));
managedOptions.getDestinations().add(new Integer(ditUserID3));
scheduleInfo.getDestination().setFromPlugin(managed);
// Retrieve the smtp plugin. to send email notification
IInfoObjects smtpInfoObjects = infoStore.query("Select SI_DEST_SCHEDULEOPTIONS, SI_PROGID From CI_SYSTEMOBJECTS Where SI_PARENTID = 29 AND SI_NAME = 'CrystalEnterprise.Smtp'");
IInfoObject smtpInfoObject = (IInfoObject)smtpInfoObjects.get(0);
IDestinationPlugin smtpDestinationPlugin = (IDestinationPlugin)smtpInfoObject;
// Set to email notification on success
ISMTP smtp = (ISMTP)smtpDestinationPlugin;
ISMTPOptions smtpOptions = (ISMTPOptions)smtp.getScheduleOptions();
smtpOptions.setServerName("mailhost.XXXXX.net");
smtpOptions.setPort(25);
smtpOptions.setDomainName("XXXXX.com");
smtpOptions.setSenderAddress("XXXXX.com");
smtpOptions.setSubject("Indicative Data Update Reports");
smtpOptions.getToAddresses().add("XXXXX.com");
smtpOptions.setMessage("Test Message");
smtpOptions.setSMTPAuthenticationType(CeSMTPAuthentication.NONE);
scheduleInfo.getNotifications().getDestinationsOnFailure().add("New");
scheduleInfo.getDestination().setFromPlugin(smtp);
Edited by: Shannon Maret on Apr 21, 2009 7:02 PMOne thing to keep in mind is that "scheduling to SMTP" is different from "scheduling with email notification", and it looks like you're conflating the two. The ISchedulingInfo.getDestinations() is the access point for scheduling to SMTP and ISchedulingINfo.getNotifications() is the access point for scheduling with Notification.
> scheduleInfo.getNotifications().getDestinationsOnFailure().add("New");
You'd add the SI_PROGID of the SMTP Destination here, and work with the returned IDestination to set the destination parameters.
Sincerely,
Ted Ueda
Maybe you are looking for
-
How to create links above interactive content?
I want to have a movie or a slide show, with a texthyperlink above it while the movie running, have tried with combinations of superoverlays, as a button and as a hyperlink. Is there a workaround or have i missed something?
-
USB keyboard problems in Entourage
I have an iMac late 2013 (Yosemite) and my USB keyboard is not working in Entourage. All the other programs are fine, so there is nothing wrong with the keyboard. Can anybody help?
-
Updated to 9.2.1 - can't burn - "disc burner or software not found"
Went to burn a disc this and got this message - "disc burner or software not found". drive won't accept disc at all - any help would be greatly appreciated. Thanks
-
KP26_intergration with excel Plan Activity can only change some period
Dear Expert, We use kp26 intergrate with excel, when uploading Plan Activity can only change some period. (Uploading is successful) So, we've used same Layout and change data in KP26 directly for testing. (Only period 1,2,11 in 2010 can be changed, o
-
Not able to login to Application Express Administrator
Hi guys... Really need your help. Currently i'm not able to login to Application Express Administrator. Could be i'm accidentally set the *'Require HTTPS'* to be *'YES'* Is there any way to set back to 'NO' and allow back the access to the Administra