Setting the Subject of Emails sent from Orchestrations
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server > Setting the Subject of Emails sent from Orchestrations




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    Setting the Subject of Emails sent from Orchestrations  
Richard


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-23-04 10:50 PM

Microsoft gives a snippet for setting the subject of an email sent out from
an orchestration.  They offer (from
http://msdn.microsoft.com/library/d..._email_ymxa.asp):

SP_Mail(Microsoft.XLANGs.BaseTypes.Address) =
"mailto:myManager@myCompany.com";
msgApprovalRequest(SMTP.Subject) = "Please review this Expense Report";

for setting the mailto and subject.  However, using the same structure,
BizTalk 2004-XLANG/s is giving me the error "'<msgName>':message constructio
n
must be done in a construct block."  I believe my message is properly
constructed and I can successfully receive it, ues information from it, and
email its content to users.  I just cannot seem to change the subject.  I
know many people send emails using orchestrations so I have to believe this
can be done pretty easily.  I just don't know what I'm missing.

Any thoughts?

Richard.





[ Post a follow-up to this message ]



    RE: Setting the Subject of Emails sent from Orchestrations  
Richard


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
08-23-04 10:50 PM

Of course, as soon as you post a message for help, you end up figuring it ou
t
yourself!  I'll post my problem's answer for the benefit of anyone else who
is working on this when they are way too tired and have drank way too much
coffee.

My problem was quite simple, and now the message makes perfect sense.  I was
attempting to execute the described lines in an Expression construct.  I
moved it into the Construct Message construct with an embedded Message
Assignment construct and my XLANG/s errors vanished.  I hate when the simple
things trip you up!

Richard.

"Richard" wrote:

> Microsoft gives a snippet for setting the subject of an email sent out fro
m
> an orchestration.  They offer (from
> http://msdn.microsoft.com/library/d..._email_ymxa.asp):
>
> SP_Mail(Microsoft.XLANGs.BaseTypes.Address) =
> "mailto:myManager@myCompany.com";
> msgApprovalRequest(SMTP.Subject) = "Please review this Expense Report";
>
> for setting the mailto and subject.  However, using the same structure,
> BizTalk 2004-XLANG/s is giving me the error "'<msgName>':message construct
ion
> must be done in a construct block."  I believe my message is properly
> constructed and I can successfully receive it, ues information from it, an
d
> email its content to users.  I just cannot seem to change the subject.  I
> know many people send emails using orchestrations so I have to believe thi
s
> can be done pretty easily.  I just don't know what I'm missing.
>
> Any thoughts?
>
> Richard.





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:28 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register