Cannot set 'from' address using Interface Method

Hi community!

I’m building a simple app that should set a default value in the “from” field in the reply window.

According to the documentation for freshservice, it should be possible -

    client.interface.trigger("setValue", {id: "reply", field: "from", value: "tom@customer.com"})
      .then(function(data) {
      // data - success message
      }).catch(function(error) {
      // error - error object
      });

I have this in a app located in the “ticket_top_navigation”.

When initializing the method, it does nothing, and when i log the response, it returns undefined.
This does work on the field “CC” but not “From”…
Any ideas to get this to work?

replytofrom

// Jonathan

@JonathanHojtoft,
Good Day!
You can’t set other email Id in the From filed, you are allowed to set only configured Email

Hope it helps :slight_smile:

Thanks
Santhosh B

2 Likes

@JonathanHojtoft - Apologies for inaccuracies in documentation, we are tracking couple of such inconsistencies and will try push the fixes next quarter.

This topic was automatically closed after 4 days. New replies are no longer allowed.