Module Values.AddHeaderActionSource

The action to add a header to a message. When executed, this action will add the given header to the message.

Sourcetype nonrec t = {
  1. headerName : HeaderName.t;
    (*

    The name of the header to add to an email. The header must be prefixed with "X-". Headers are added regardless of whether the header name pre-existed in the email.

    *)
  2. headerValue : HeaderValue.t;
    (*

    The value of the header to add to the email.

    *)
}
Sourceval context_ : string
Sourceval make : headerName:HeaderName.t -> headerValue:HeaderValue.t -> unit -> t
Sourceval to_value : t -> [> `Structure of (string * [> `String of HeaderName.t ]) list ]
Sourceval to_query : t -> Awso.Client.Query.t
Sourceval of_xml : Awso.Xml.t -> t
Sourceval of_string : string -> t
Sourceval of_json : Yojson.Safe.t -> t
Sourceval to_json : t -> Yojson.Safe.t