cancel
Showing results for 
Search instead for 
Did you mean: 

Mail adapter problemas

inigo_sacramento
Participant
0 Kudos

Hi.

I want to send and email from XI to an address that comes in the payload. This payload has also information that has to be sent as an attachment in the email.

If i use Michal's solution os 'mail package', i can't add the attachment of the info because the structure of the mail donesn't allow to add more fields.

Does any other SP that allow this? I'm actually in SP13

If i had to use Michal's solution is there any way to send the content as the result of many lines?

Regards

Accepted Solutions (1)

Accepted Solutions (1)

MichalKrawczyk
Active Contributor
0 Kudos

hi,

>>>>If i had to use Michal's solution is there any way to send the content as the result of many lines?

you can do something like this if you need to use

message mapping:

- create a user function and put all lines

(in a loop) to one string

String manyLines = "I" + '\n' + "love" + '\n' + "the XI";

then just map the string to content tag in the mail

and you'll see many lines in your mail

>>>>Does any other SP that allow this? I'm actually in SP13

from SP14 you can set it like this:

/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping

and you can use the whole message and not only one tag

(when you send to mail adapter)

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

Message was edited by: Michal Krawczyk

Answers (0)