how to write a field value into a messagebody of send email+ node?
Originally posted by: rebeccanew
I am going to send a email in my graph. I use the send email+ node to send email. The input to the send email+ node is a cat node. And I am trying to write the values of fields in the cat node to the MessageBody of the send email+ node. Can anybody tell me how to do that? I got a plain text in my email every time I try to use the values of the fields. thanks.
I am going to send a email in my graph. I use the send email+ node to send email. The input to the send email+ node is a cat node. And I am trying to write the values of fields in the cat node to the MessageBody of the send email+ node. Can anybody tell me how to do that? I got a plain text in my email every time I try to use the values of the fields. thanks.
-
Originally posted by: gmullin
Have a look here. -
Originally posted by: rebeccanew
Thanks for the reply, gmullin. I tried your way, but it seems it doesn't work for me. I will describe my simple graph to you.
The input of send mail+ is a filter node which has a field named DateTime in which I got the string including the current date and current time. Then in the MessageBody of the Send Email+ node, I input the DateTime. I hope that the value of the DateTime field can be sent out to a email address. But when I open the email, the email body is the plain text DateTime, not the value of the DateTime field. I don't know what's wrong. And my bre version is v6.1.4. Can you guys please give me some help? Thanks. -
Originally posted by: rebeccanew
Thanks very much. Can I ask you more questions about the Send Email+ node?
The first one is: I have three columns. I input three rows in the MessageBody: 1 TheStartTime, 2 TheEndTime, 3 TheGraphName. But I got an error which is ERROR:Column is missing.
The second one is: I tried to mixed the literal and field together. I input "The Start Time is: " + TheStartTime into the MessageBody. I got the same error: ERROR:Column is missing.
Can anybody help, please? -
Originally posted by: gmullin
You can't mix Literal/Field values, you have to pick one or the other. What you should do is have a Filter node leading into the Send + node and have something like the following:
emit "The Start Time is: " + TheStartTime as "MessageBody"
The you have a field called MessageBody you can use as an input.
Please sign in to leave a comment.
Comments
11 comments