 < ? x m l   v e r s i o n = ' 1 . 0 '   e n c o d i n g = ' U T F - 8 ' ? > 
 < w o r k f l o w   x m l n s = " h t t p : / / v m w a r e . c o m / v c o / w o r k f l o w "   x m l n s : x s i = " h t t p : / / w w w . w 3 . o r g / 2 0 0 1 / X M L S c h e m a - i n s t a n c e "   x s i : s c h e m a L o c a t i o n = " h t t p : / / v m w a r e . c o m / v c o / w o r k f l o w   h t t p : / / v m w a r e . c o m / v c o / w o r k f l o w / W o r k f l o w - v 4 . x s d "   r o o t - n a m e = " i t e m 0 "   o b j e c t - n a m e = " W o r k f l o w : n a m e = g e n e r i c "   i d = " 8 0 b b 3 b 1 4 - 8 c 0 6 - 4 5 d 3 - a 0 4 d - 0 8 1 9 2 2 4 f d 2 8 0 "   v e r s i o n = " 1 . 0 . 1 "   a p i - v e r s i o n = " 6 . 0 . 0 "   a l l o w e d - o p e r a t i o n s = " e v f "   r e s t a r t M o d e = " 1 "   r e s u m e F r o m F a i l e d M o d e = " 0 " > 
     < d i s p l a y - n a m e > < ! [ C D A T A [ S e n d   S M T P   M a i l ] ] > < / d i s p l a y - n a m e > 
     < d e s c r i p t i o n > < ! [ C D A T A [ S e n d s   a n   e m a i l   t o   a n s w e r   a   u s e r   i n t e r a c t i o n . 
 
 T h e   e m a i l   b o d y   c o n t a i n s   b o t h   t h e   d i r e c t   a n s w e r   U R L ,   a n d   a n   i n t e r a c t i o n   U R L   t o   p r o c e s s   t h i s   r e q u e s t . 
 
 U s e s   t h e   d e f a u l t   s e t t i n g s   f r o m   t h e   O r c h e s t r a t o r   C o n f i g u r a t i o n   i n t e r f a c e   f o r   t h e   f o l l o w i n g   o p t i o n a l   i n p u t   p a r a m e t e r s : 
 S M T P   h o s t ,   S M T P   p o r t ,   u s e r n a m e ,   p a s s w o r d ,   f r o m   A d d r e s s   a n d   f r o m   N a m e .   Y o u   c a n   o v e r r i d e   t h e s e   v a l u e s   b y   p r o v i d i n g   i n p u t   p a r a m e t e r s . ] ] > < / d e s c r i p t i o n > 
     < p o s i t i o n   y = " 2 0 . 0 "   x = " 1 8 0 . 0 " / > 
     < i n p u t > 
         < p a r a m   n a m e = " s m t p H o s t "   t y p e = " s t r i n g " > 
             < d e s c r i p t i o n > < ! [ C D A T A [ S M T P   h o s t ] ] > < / d e s c r i p t i o n > 
         < / p a r a m > 
         < p a r a m   n a m e = " s m t p P o r t "   t y p e = " n u m b e r " > 
             < d e s c r i p t i o n > < ! [ C D A T A [ S M T P   p o r t ] ] > < / d e s c r i p t i o n > 
         < / p a r a m > 
         < p a r a m   n a m e = " u s e r n a m e "   t y p e = " s t r i n g " > 
             < d e s c r i p t i o n > < ! [ C D A T A [ U s e r n a m e   f o r   a u t h e n t i c a t i o n ] ] > < / d e s c r i p t i o n > 
         < / p a r a m > 
         < p a r a m   n a m e = " p a s s w o r d "   t y p e = " S e c u r e S t r i n g " > 
             < d e s c r i p t i o n > < ! [ C D A T A [ P a s s w o r d   f o r   a u t h e n t i c a t i o n ] ] > < / d e s c r i p t i o n > 
         < / p a r a m > 
         < p a r a m   n a m e = " f r o m N a m e "   t y p e = " s t r i n g " > 
             < d e s c r i p t i o n > < ! [ C D A T A [ S e n d e r ' s   n a m e ] ] > < / d e s c r i p t i o n > 
         < / p a r a m > 
         < p a r a m   n a m e = " f r o m A d d r e s s "   t y p e = " s t r i n g " > 
             < d e s c r i p t i o n > < ! [ C D A T A [ S e n d e r ' s   a d d r e s s ] ] > < / d e s c r i p t i o n > 
         < / p a r a m > 
         < p a r a m   n a m e = " t o A d d r e s s "   t y p e = " s t r i n g " > 
             < d e s c r i p t i o n > < ! [ C D A T A [ D e s t i n a t i o n   a d d r e s s ] ] > < / d e s c r i p t i o n > 
         < / p a r a m > 
         < p a r a m   n a m e = " s u b j e c t "   t y p e = " s t r i n g " > 
             < d e s c r i p t i o n > < ! [ C D A T A [ E m a i l   s u b j e c t ] ] > < / d e s c r i p t i o n > 
         < / p a r a m > 
         < p a r a m   n a m e = " c o n t e n t "   t y p e = " s t r i n g " > 
             < d e s c r i p t i o n > < ! [ C D A T A [ E m a i l   c o n t e n t   ( t e x t   o r   H T M L ) ] ] > < / d e s c r i p t i o n > 
         < / p a r a m > 
     < / i n p u t > 
     < w o r k f l o w - i t e m   n a m e = " i t e m 0 "   o u t - n a m e = " i t e m 1 "   t y p e = " t a s k " > 
         < d i s p l a y - n a m e > < ! [ C D A T A [ S e n d   E m a i l   w i t h   U s e r   I n t e r a c t ] ] > < / d i s p l a y - n a m e > 
         < s c r i p t   e n c o d e d = " f a l s e " > < ! [ C D A T A [ v a r   m e s s a g e   =   n e w   E m a i l M e s s a g e ( ) ; 
 
 / /   a p p e n d s   t h e   b o d y   m e s s a g e   w i t h   a   f i n a l   p a r a g r a p h   w i t h   t w o   u r l   l i n k s ,   s o   t h a t   t h e   r e c e i v e r   c a n   c l i c k   o n   t h e   l i n k   t o   a n s w e r   a   u s e r   i n t e r a c t i o n 
 / /   c o n t e n t   =   	 " < p >   "   +   c o n t e n t   +   " < / p > " 
 / / 	 + " < p > S i e   k  n n e n   d i e   A n f r a g e   < a   h r e f = \ " "   +   u r l A n s w e r   +   " \ " > h i e r   d i r e k t   b e a r b e i t e n < / a >   o d e r   S i e   g e h e n   " 
 / / 	 +   " < a   h r e f = \ " "   +   u r l G o T o   +   " \ " > z u r   p a u s i e r t e n   A n f r a g e < / a >   u n d   d i e s e r   d o r t   b e a r b e i t e n . " ; 
 
 / /   O v e r r i d e   d e f a u l t   s e t t i n g s   i f   a n d   o n l y   i f   i n p u t   p a r a m e t e r   i s   s e t 
 i f   (   s m t p H o s t   ! =   n u l l   & &   s m t p H o s t . l e n g t h   >   0   ) { 
 	 m e s s a g e . s m t p H o s t   =   s m t p H o s t ; 
 } 
 i f   (   s m t p P o r t   ! =   n u l l   & &   s m t p P o r t   >   0   ) { 
 	 m e s s a g e . s m t p P o r t   =   s m t p P o r t ; 
 } 
 i f   (   u s e r n a m e   ! = n u l l   & &   u s e r n a m e . l e n g t h   >   0 ) { 
 	 m e s s a g e . u s e r n a m e   =   u s e r n a m e ; 
 } 
 i f   (   p a s s w o r d   ! =   n u l l   & &   p a s s w o r d . l e n g t h   >   0 ) { 
 	 m e s s a g e . p a s s w o r d   =   p a s s w o r d ; 
 } 
 i f   (   f r o m N a m e   ! =   n u l l   & &   f r o m N a m e . l e n g t h   >   0 ) { 
 	 m e s s a g e . f r o m N a m e   =   f r o m N a m e ; 
 } 
 i f   (   f r o m A d d r e s s   ! =   n u l l   & &   f r o m A d d r e s s . l e n g t h   >   0 ) { 
 	 m e s s a g e . f r o m A d d r e s s   =   f r o m A d d r e s s ; 
 } 
 
 m e s s a g e . t o A d d r e s s   =   t o A d d r e s s ; 
 m e s s a g e . s u b j e c t   =   s u b j e c t ; 
 m e s s a g e . a d d M i m e P a r t ( c o n t e n t , " t e x t / h t m l ;   c h a r s e t = U T F - 8 " ) ; 
 
 S y s t e m . l o g (   " s e n d i n g   m a i l   t o   h o s t :   "   +   s m t p H o s t   +   " : "   +   s m t p P o r t   +   "   w i t h   u s e r : "   +   u s e r n a m e   +   " ,   f r o m : "   +   f r o m A d d r e s s   +   " ,   t o : "   +   t o A d d r e s s   ) ; 
 
 m e s s a g e . s e n d M e s s a g e ( ) ; ] ] > < / s c r i p t > 
         < i n - b i n d i n g > 
             < b i n d   n a m e = " s m t p H o s t "   t y p e = " s t r i n g "   e x p o r t - n a m e = " s m t p H o s t " / > 
             < b i n d   n a m e = " s m t p P o r t "   t y p e = " n u m b e r "   e x p o r t - n a m e = " s m t p P o r t " / > 
             < b i n d   n a m e = " u s e r n a m e "   t y p e = " s t r i n g "   e x p o r t - n a m e = " u s e r n a m e " / > 
             < b i n d   n a m e = " p a s s w o r d "   t y p e = " S e c u r e S t r i n g "   e x p o r t - n a m e = " p a s s w o r d " / > 
             < b i n d   n a m e = " f r o m N a m e "   t y p e = " s t r i n g "   e x p o r t - n a m e = " f r o m N a m e " / > 
             < b i n d   n a m e = " f r o m A d d r e s s "   t y p e = " s t r i n g "   e x p o r t - n a m e = " f r o m A d d r e s s " / > 
             < b i n d   n a m e = " t o A d d r e s s "   t y p e = " s t r i n g "   e x p o r t - n a m e = " t o A d d r e s s " / > 
             < b i n d   n a m e = " s u b j e c t "   t y p e = " s t r i n g "   e x p o r t - n a m e = " s u b j e c t " / > 
             < b i n d   n a m e = " c o n t e n t "   t y p e = " s t r i n g "   e x p o r t - n a m e = " c o n t e n t " / > 
         < / i n - b i n d i n g > 
         < o u t - b i n d i n g / > 
         < p o s i t i o n   y = " 1 0 0 . 0 "   x = " 1 4 0 . 0 " / > 
     < / w o r k f l o w - i t e m > 
     < w o r k f l o w - i t e m   n a m e = " i t e m 1 "   t y p e = " e n d "   e n d - m o d e = " 0 " > 
         < p o s i t i o n   y = " 1 9 0 . 0 "   x = " 1 8 0 . 0 " / > 
     < / w o r k f l o w - i t e m > 
     < p r e s e n t a t i o n > 
         < p - s t e p > 
             < t i t l e > < ! [ C D A T A [ S e n d   N o t i f i c a t i o n ] ] > < / t i t l e > 
             < p - g r o u p > 
                 < t i t l e > < ! [ C D A T A [ H o s t ] ] > < / t i t l e > 
                 < d e s c > < ! [ C D A T A [ O p t i o n a l . 
 
 D e f i n e s   c o n n e c t i o n   s e t t i n g s .   D e f a u l t   v a l u e s   w i l l   b e   u s e d   i f   n o   p a r a m e t e r   p r o v i d e d . 
 
 ] ] > < / d e s c > 
                 < p - p a r a m   n a m e = " s m t p H o s t " > 
                     < d e s c > < ! [ C D A T A [ S M T P   h o s t ] ] > < / d e s c > 
                     < p - q u a l   k i n d = " s t a t i c "   n a m e = " m a n d a t o r y "   t y p e = " b o o l e a n " > < ! [ C D A T A [ f a l s e ] ] > < / p - q u a l > 
                 < / p - p a r a m > 
                 < p - p a r a m   n a m e = " s m t p P o r t " > 
                     < d e s c > < ! [ C D A T A [ S M T P   p o r t ] ] > < / d e s c > 
                 < / p - p a r a m > 
             < / p - g r o u p > 
             < p - g r o u p > 
                 < t i t l e > < ! [ C D A T A [ C r e d e n t i a l s ] ] > < / t i t l e > 
                 < d e s c > < ! [ C D A T A [ O p t i o n a l . 
 
 D e f i n e s   c r e d e n t i a l   f o r   a u t h e n t i c a t i o n .   D e f a u l t   v a l u e s   w i l l   b e   u s e d   i f   n o   p a r a m e t e r   p r o v i d e d . ] ] > < / d e s c > 
                 < p - p a r a m   n a m e = " u s e r n a m e " > 
                     < d e s c > < ! [ C D A T A [ U s e r n a m e ] ] > < / d e s c > 
                     < p - q u a l   k i n d = " s t a t i c "   n a m e = " m a n d a t o r y "   t y p e = " b o o l e a n " > < ! [ C D A T A [ f a l s e ] ] > < / p - q u a l > 
                 < / p - p a r a m > 
                 < p - p a r a m   n a m e = " p a s s w o r d " > 
                     < d e s c > < ! [ C D A T A [ P a s s w o r d ] ] > < / d e s c > 
                     < p - q u a l   k i n d = " s t a t i c "   n a m e = " m a n d a t o r y "   t y p e = " b o o l e a n " > < ! [ C D A T A [ f a l s e ] ] > < / p - q u a l > 
                 < / p - p a r a m > 
             < / p - g r o u p > 
             < p - g r o u p > 
                 < t i t l e > < ! [ C D A T A [ E m a i l   C o n t e n t ] ] > < / t i t l e > 
                 < d e s c > < ! [ C D A T A [ D e f i n e s   E m a i l   c o n t e n t .   
 
 O n l y   t o A d d r e s s   i s   m a n d a t o r y .   D e f a u l t   v a l u e s   w i l l   b e   u s e d   f o r   b o t h   f r o m A d d r e s s   a n d   f r o m N a m e   i f   p a r a m e t e r s   n o t   p r o v i d e d . 
 
 ] ] > < / d e s c > 
                 < p - p a r a m   n a m e = " t o A d d r e s s " > 
                     < d e s c > < ! [ C D A T A [ D e s t i n a t i o n   a d d r e s s ] ] > < / d e s c > 
                     < p - q u a l   k i n d = " s t a t i c "   n a m e = " m a n d a t o r y "   t y p e = " b o o l e a n " > < ! [ C D A T A [ t r u e ] ] > < / p - q u a l > 
                 < / p - p a r a m > 
                 < p - p a r a m   n a m e = " f r o m A d d r e s s " > 
                     < d e s c > < ! [ C D A T A [ S e n d e r ' s   a d d r e s s ] ] > < / d e s c > 
                     < p - q u a l   k i n d = " s t a t i c "   n a m e = " m a n d a t o r y "   t y p e = " b o o l e a n " > < ! [ C D A T A [ f a l s e ] ] > < / p - q u a l > 
                 < / p - p a r a m > 
                 < p - p a r a m   n a m e = " f r o m N a m e " > 
                     < d e s c > < ! [ C D A T A [ S e n d e r ' s   n a m e ] ] > < / d e s c > 
                     < p - q u a l   k i n d = " s t a t i c "   n a m e = " m a n d a t o r y "   t y p e = " b o o l e a n " > < ! [ C D A T A [ f a l s e ] ] > < / p - q u a l > 
                 < / p - p a r a m > 
                 < p - p a r a m   n a m e = " s u b j e c t " > 
                     < d e s c > < ! [ C D A T A [ E m a i l   s u b j e c t ] ] > < / d e s c > 
                     < p - q u a l   k i n d = " s t a t i c "   n a m e = " m a n d a t o r y "   t y p e = " b o o l e a n " > < ! [ C D A T A [ f a l s e ] ] > < / p - q u a l > 
                 < / p - p a r a m > 
                 < p - p a r a m   n a m e = " c o n t e n t " > 
                     < d e s c > < ! [ C D A T A [ E m a i l   c o n t e n t ] ] > < / d e s c > 
                     < p - q u a l   k i n d = " s t a t i c "   n a m e = " m a n d a t o r y "   t y p e = " b o o l e a n " > < ! [ C D A T A [ f a l s e ] ] > < / p - q u a l > 
                 < / p - p a r a m > 
             < / p - g r o u p > 
         < / p - s t e p > 
     < / p r e s e n t a t i o n > 
 < / w o r k f l o w >