cancel
Showing results for 
Search instead for 
Did you mean: 

get the attachement from opportunity and send it through email in c4c

Former Member
0 Kudos

Hi Team,

Below is the requirement ,

We have to get the attachement from opportunity and send it through email , Since iam new to C4C , seeking for valuable suggestions.

Please suggest the same

thank you very much

Accepted Solutions (1)

Accepted Solutions (1)

HorstSchaude
Product and Topic Expert
Product and Topic Expert

Hello Smita,

Did you had a look into this?

HTH,
. Horst

Former Member
0 Kudos

Thank you Horst 🙂

iam able to send an emails with attachments successfully, however the email body template is not formatted .

if I use textcollection of email activity, the entire body template comes in single paragraph, though I have used the line breaks /n in between .

I tried with other approach of sending an email with binary.parsefromstring(<html><body>.....)however in this case I cannot fetch the dynamic ticket id (for example -> this.opportunityID , this.oppoortunity detals)

Please help me in this regard.

thank you in advance

Answers (1)

Answers (1)

Former Member
0 Kudos

Thank you Horst 🙂

iam able to send an emails with attachments successfully, however the email body template is not formatted .

if I use textcollection of email activity, the entire body template comes in single paragraph, though I have used the line breaks /n in between .

I tried with other approach of sending an email with binary.parsefromstring(<html><body>.....)however in this case I cannot fetch the dynamic ticket id (for example -> this.opportunityID , this.oppoortunity detals)

Please help me in this regard.

thank you in advance

HorstSchaude
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hello Smita,

I would use the replaceent for a newline as it is used in HTML documents instead of "/n".
For example "&" instead of "&"

You may have a look at the resp. Wikipedia entry.

HTH;
. Horst