3Jcom/edeal/frontline/controller/actions/custom/SendMailObjActionOpportunity-com/edeal/frontline/controller/actions/Actionlogger Lorg/apache/commons/logging/Log;REQ_PARAM_JSONLjava/lang/String; ConstantValue data()VCode %org/apache/commons/logging/LogFactory getLog3(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;  LineNumberTableLocalVariableTable   thisLLcom/edeal/frontline/controller/actions/custom/SendMailObjActionOpportunity;executer(Ljava/util/Map;Ljavax/servlet/http/HttpServletRequest;Ljavax/servlet/http/HttpServletResponse;)Ljava/lang/String; Exceptions"java/lang/Exception $&%%javax/servlet/http/HttpServletRequest '( getSession"()Ljavax/servlet/http/HttpSession;*(com/edeal/frontline/navigation/FlRequest ), -*(Ljavax/servlet/http/HttpServletRequest;)V )/ 01 getContext!()Lcom/edeal/frontline/FlContext; 354com/edeal/frontline/FlLocale 67 getInstance@(Ljavax/servlet/http/HttpSession;)Lcom/edeal/frontline/FlLocale; 39 :; getLanguageID()Ljava/lang/String;=objID )? @A getParameter&(Ljava/lang/String;)Ljava/lang/String;CMsgCcEMsgCciGMsgTo IKJcom/edeal/frontline/Utils LMgetRequestParameterl(Lcom/edeal/frontline/FlContext;Ljavax/servlet/http/HttpServletRequest;Ljava/lang/String;)Ljava/lang/String;OtypeQ typOppDoc IS TUisEmpty(Ljava/lang/String;)ZW; Y[Zjava/lang/String \]split'(Ljava/lang/String;)[Ljava/lang/String;_ WithInter acbjava/lang/Boolean dU parseBoolean fhgcom/edeal/frontline/FlContext ijgetDataDictionary&()Lcom/edeal/frontline/DataDictionary;lnIntType_pCOR rts"com/edeal/frontline/DataDictionary uvgetRefIdByCode8(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;xIntAtvIDzOUTEMAIL|IntStiID~DONEIntCatIDOUETo_Te1DEV r uJ(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;ORDFACSTC Y UequalsIgnoreCasejava/util/Date actorID javax/servlet/http/HttpSession  getAttribute&(Ljava/lang/String;)Ljava/lang/Object;#com/edeal/frontline/InteractionBean "(Lcom/edeal/frontline/FlContext;)V#com/edeal/frontline/OpportunityBean 4(Ljava/lang/String;Lcom/edeal/frontline/FlContext;)V ;getID OppNumDev_ getCustomPropertyLF155'[Correspondance concernant le devis] : I  getMessageX(Ljavax/servlet/http/HttpSession;Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;java/lang/StringBuilder Y valueOf&(Ljava/lang/Object;)Ljava/lang/String; (Ljava/lang/String;)V append-(Ljava/lang/String;)Ljava/lang/StringBuilder; ;toString OppNumComm_ STACK TRACE org/apache/commons/logging/Log error*(Ljava/lang/Object;Ljava/lang/Throwable;)VLF156*[Correspondance concernant la commande] : LF17C&Notification STACI pour la commande :  OppNumFact_LF157)[Correspondance concernant la facture] : setCustomProperty'(Ljava/lang/String;Ljava/lang/Object;)V  setIntAtvID  setIntCatID  setIntOppID  setIntCreID  setIntCrDt(Ljava/util/Date;)V  setIntSubject  setIntDate  setIntStiIDjava/util/Vector    addElement(Ljava/lang/Object;)V    setIntActID(Ljava/util/Vector;)V   ; getOppEntID  ; getOppPerID%com/edeal/frontline/CorrespondentBean    setCorCrDt   setCorCreID   setCorEntIDCorEntID   !getCorrespondentIDByY(Lcom/edeal/frontline/FlContext;[Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String; # $setID & '(save'()Lcom/edeal/frontline/OperationResult;  + , setCorPerID.CorPerID 0 1  setIntCorID3java/io/BufferedReader5java/io/InputStreamReader $7 89getInputStream$()Ljavax/servlet/ServletInputStream;;UTF-8 4= >*(Ljava/io/InputStream;Ljava/lang/String;)V 2@ A(Ljava/io/Reader;)V  2D E;readLine 2G H closeJorg/json/JSONObject I MON-com/edeal/frontline/helper/custom/ActorHelper PQgetSessionActorID4(Ljavax/servlet/http/HttpSession;)Ljava/lang/String;Scom/edeal/frontline/ActorBean R RV W;getMail RZ<\>^json`{"Status" : "KO", "Msg" : "bM9027dVeuillez vérifier si les options [KBaseCartMailSnderType] et [PasswordReminderEmail] sont bien saisi et/ou si l'acteur courant a une adresse mail. If gZ(Ljavax/servlet/http/HttpSession;Ljava/lang/String;ZZLjava/lang/String;)Ljava/lang/String; Ii jAencodeURIComponentl", "Detail" : ""} $n o setAttributeqThe email sender is empty. Verify if the options [KBaseCartMailSnderType] and [PasswordReminderEmail] are correctly set and/or if the current actor has an E-mail address. s ufailurew com/edeal/frontline/MessagesBean vy z#(Ljavax/servlet/http/HttpSession;)V|MsgBody I~ A getString java/net/URLDecoder vdecode v  setMsgBody MsgSubject v  setMsgSubjectMsgAttID| I  explodeList8(Ljava/lang/String;Ljava/lang/String;)Ljava/util/Vector;  addAll(Ljava/util/Collection;)ZMsgDocID v   setMsgDocID FusionPdf"com/edeal/frontline/AttachmentBean   elementAt(I)Ljava/lang/Object;    getAttFile()[B Y ([BLjava/lang/String;)VBcom/edeal/frontline/fusion/parameters/impl/FusionParameterWordImpl  !com/edeal/frontline/fusion/Fusion doFusion(Ljavax/servlet/http/HttpSession;Lcom/edeal/frontline/FlContext;Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;Lcom/edeal/frontline/fusion/parameters/FusionParameter;)Ljava/lang/String;   word2pdfNew5(Lcom/edeal/frontline/FlContext;Ljava/lang/String;)[B  ;getAttFileNameapplication/pdf.xml.pdf I replace 2com/edeal/frontline/helper/custom/AttachmentHelper  newAttachmentY(Lcom/edeal/frontline/FlContext;[BLjava/lang/String;Ljava/lang/String;)Ljava/lang/String;  add(Ljava/lang/Object;)Z.ERREUR lors de la péparation à la fusion  size()I FusionWord (com/edeal/frontline/fusion/ui/WordFusion determineResultDocExtensionP(Lcom/edeal/frontline/FlContext;Ljavax/servlet/ServletConfig;)Ljava/lang/String;  determineResultDocMimeType. Y  lastIndexOf(Ljava/lang/String;)I Y  substring(II)Ljava/lang/String; Y getBytes(Ljava/lang/String;)[B,ERREUR lors de la prepartation de la fusion v   setMsgAttIDM9026[Veuillez vérifier si les modèles de message pour la fusion PDF sont bien présents.", "Detail" : " ! ;"}Exception when generating PDF MsgLngReffr_FR v   setMsgLngRef 0com/edeal/frontline/helper/custom/MessagesHelper   %(Lcom/edeal/frontline/MessagesBean;)V   doMergeMessage'(Ljava/lang/String;Ljava/lang/String;)V   sendMailr(Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;[Ljava/lang/String;)Ljava/lang/String;M609F,L'e-mail a été envoyé correctement. &;Impossible de créer la correspondance avec le Mail envoyé!,Impossible d'accéder à l'objet Interaction# {"Status" : "%OK'KO) ", "Msg" : "+M609E-%L'e-mail n'a pas été envoyé./success10com/edeal/frontline/FieldNotInitializedException3&com/edeal/frontline/FrontlineException5)com/edeal/frontline/AccessDeniedExceptionparamsLjava/util/Map;request'Ljavax/servlet/http/HttpServletRequest;response(Ljavax/servlet/http/HttpServletResponse;session Ljavax/servlet/http/HttpSession; flRequest*Lcom/edeal/frontline/navigation/FlRequest;contextLcom/edeal/frontline/FlContext;localeLcom/edeal/frontline/FlLocale; langageIDdestCopdestCopcdestMailto[Ljava/lang/String;ccbccwithInteractionZcorr%Lcom/edeal/frontline/InteractionBean;dico$Lcom/edeal/frontline/DataDictionary;correspondentListLjava/util/Vector;actsListtypOpporcorrIDe2Lcom/edeal/frontline/FieldNotInitializedException; corroutIDafaireID corsortantID devisDocTypcommandeDocTyp factureDocTyp staciDocTypLjava/lang/Exception; dateDuJourLjava/util/Date;actID titreObjetopp%Lcom/edeal/frontline/OpportunityBean;idOppnumDevis numCommandeex numFactureOppEntIDOppPerIDcper'Lcom/edeal/frontline/CorrespondentBean;fieldsvaluescorrespondentID(Lcom/edeal/frontline/FrontlineException;ade+Lcom/edeal/frontline/AccessDeniedException;senderjsonDatabrLjava/io/BufferedReader;inputjsonObjLorg/json/JSONObject;actBeanLcom/edeal/frontline/ActorBean;actMailmsgBean"Lcom/edeal/frontline/MessagesBean;msgBody msgSubjectattIDs msgAttIDs newAttIDs msgDocIDsdocIDsmodel pdfDocIDs vectPdfDocIDsiIattach$Lcom/edeal/frontline/AttachmentBean;tabByte[BresbytestabfileNameattID wordDocIDsvectWordDocIDsfileExt fileMimeTypepos msgLngReferrorMsg strReturn msgHelper2Lcom/edeal/frontline/helper/custom/MessagesHelper;LocalVariableTypeTable&Ljava/util/Vector; StackMapTable java/util/Map&javax/servlet/http/HttpServletResponseI SourceFile!SendMailObjActionOpportunity.java!   -  '( /*%  ! M- y,#:)Y,+:.:2:8:<>: B>: D>: ,FH: N>: :P>: R  VX: R  VX: R  VX:^>`6:e:::k::moq: :k::wyq: :k::{}q: :k::q: :k:::::::::: k:k:k:k:D :3 :" ::Y: ,#Y:!k:"Y::#:$ Y :##:$#D:%#Y:%:&,#:"%Y"%ö:"K:%#ʶY:%:&&,#ָ:"Y"%ö:"K:%#ʶY:%:&&,#ڸ:"Y"%ö:"RH:%#ܶY:%:&&,#:"Y"%ö:"m$! " Y:!:%# :%:&:&# :&:'Y:'' '!%t'%YYS:(Y:))%S():** '*"'%W":++:++Y:')&k'&*YY-S:(Y:))&S():** '*"'%W":++:++')/: >:2Y4Y,6:<?:k:YBö:CY:FIYK:L:RORYT:=k:U::YBXY[ö::RD,]YB_acehköǹmprt:vYx: :t{}::#YBöǶ}:: Y:}:R:W}:R: :}:  R :!6"Y!"Y:##:$YY$:: Y:%%:&#:'&'Ƹȸ:((W:$$""!סu۶}:!!R!:"6#Y"#Y:$:%:&$:'YY':: Y:($:))6**%YB)*%ö:)(::++&):,,W:%%##"ס<Y:",]YB_eh"höǹm"te:""q:## 6$:%:& Y:''  ':%%De:&6$-W$:((:( (,]YB"$ $&($&*,eh$%köǹm.000 0-ad!#&0bnq000002,424CJM!tw!!!m!&)!24-./1 2'30495B6L7U8X9a;v<=?@ABCDEGIJKOQRSWYZ[ _ abc!f$g'h*i-l:mGnToapfqjrnsrtvx{yz{|}~ #(7<R_bns#2HQX_fmt{ ,.:CMRYekq|    %-:?CJOt"w#y%&'(+./023478#9*<3>=?E@OAWDaEiFsGzH}IKLMNOPRSTVWXYZ[)O6a@bHc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