BizTalk Server General - SMTP Adapter: unable to change mail subject

This is Interesting: Free IT Magazines  
Home > Archive > BizTalk Server General > August 2005 > SMTP Adapter: unable to change mail subject





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author SMTP Adapter: unable to change mail subject
Michael Sander

2005-08-24, 2:48 am

Hi,
somehow I'm not able to change the subject in mails created and send by
biztalk server 2004.
I've sending them throu an dynamic port, body and recipient are all set,
mails are delivered.

Thats what I'm doing in a MessageAssigningShape:
msgMailOut = msgMailIn;
msgMailOut(SMTP.From) = "****";
msgMailOut(SMTP.Password) = "****";
msgMailOut(SMTP.SMTPHost) = "****";
msgMailOut(SMTP.Username) = "****";
msgMailOut(SMTP.Subject) = "TEST";
poSendMail(Microsoft.XLANGs.BaseTypes.Address) = varEmailRecipient;

Looks like the SMTP.Subject is ignored.
I configured the SMTP-Adapter with BiztalkAdminConsole to have the same
values as given in MessageAssigningShape.

Anyone has an idea whats wrong?

Michael


Jeff Lynch

2005-08-24, 6:04 pm

I normally put the PortOut(Microsoft.XLANGs.BaseTypes.Address) = "somthing";
in an Expression Shape followed by a Construct Message Shape containing my
Message Assignment Shapes. Is this how you've got this setup?

--
Jeff Lynch
"A BizTalk Enthusiast"
http://codebetter.com/blogs/jeff.lynch


"Michael Sander" <spam@h3c.de> wrote in message
news:OMyph$HqFHA.3192@TK2MSFTNGP10.phx.gbl...
> Hi,
> somehow I'm not able to change the subject in mails created and send by
> biztalk server 2004.
> I've sending them throu an dynamic port, body and recipient are all set,
> mails are delivered.
>
> Thats what I'm doing in a MessageAssigningShape:
> msgMailOut = msgMailIn;
> msgMailOut(SMTP.From) = "****";
> msgMailOut(SMTP.Password) = "****";
> msgMailOut(SMTP.SMTPHost) = "****";
> msgMailOut(SMTP.Username) = "****";
> msgMailOut(SMTP.Subject) = "TEST";
> poSendMail(Microsoft.XLANGs.BaseTypes.Address) = varEmailRecipient;
>
> Looks like the SMTP.Subject is ignored.
> I configured the SMTP-Adapter with BiztalkAdminConsole to have the same
> values as given in MessageAssigningShape.
>
> Anyone has an idea whats wrong?
>
> Michael
>



Michael Sander

2005-08-25, 7:48 am

Hi Jeff,
Thats what I tried first, with the same result. I ended up doing it all in
the construction shape, dut it really doesn't seem to make any difference...

Micha

"Jeff Lynch" <jeff.lynch@newsgroup.nospam> schrieb im Newsbeitrag
news:e0RH9yOqFHA.1096@TK2MSFTNGP11.phx.gbl...
>I normally put the PortOut(Microsoft.XLANGs.BaseTypes.Address) =
>"somthing"; in an Expression Shape followed by a Construct Message Shape
>containing my Message Assignment Shapes. Is this how you've got this setup?
>
> --
> Jeff Lynch
> "A BizTalk Enthusiast"
> http://codebetter.com/blogs/jeff.lynch



Jeff Lynch

2005-08-25, 6:02 pm

Have you tried to debug the orchestration and look at this call? I'd be
happy to take a look if you'll attache your orchestration to a post or mail
me (take out the nospam) at jtlynch@nospam.houston.rr.com

--
Jeff Lynch
"A BizTalk Enthusiast"
http://codebetter.com/blogs/jeff.lynch


"Michael Sander" <spam@h3c.de> wrote in message
news:easRp9WqFHA.564@TK2MSFTNGP12.phx.gbl...
> Hi Jeff,
> Thats what I tried first, with the same result. I ended up doing it all in
> the construction shape, dut it really doesn't seem to make any
> difference...
>
> Micha
>
> "Jeff Lynch" <jeff.lynch@newsgroup.nospam> schrieb im Newsbeitrag
> news:e0RH9yOqFHA.1096@TK2MSFTNGP11.phx.gbl...
>
>



Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com