Skip to content

Commit

Permalink
fix: Extend mail client types to accept multiple replyTo recipients. (#…
Browse files Browse the repository at this point in the history
…4865)

* fix: Extend mail client types to accept multiple replyTo recipients.

Closes #4864.

* Update packages/mail-client/src/mail-client-types.ts

* changeset

---------

Co-authored-by: Deeksha Sinha <88374536+deekshas8@users.noreply.github.com>
Co-authored-by: deekshas8 <deeksha.sinha@sap.com>
  • Loading branch information
3 people authored Aug 2, 2024
1 parent a4bda98 commit 00fa35d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/three-shoes-give.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sap-cloud-sdk/mail-client': minor
---

[Fixed Issue] Fix the type of `replyTo` property in the `MailConfig` interface.
4 changes: 2 additions & 2 deletions packages/mail-client/src/mail-client-types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -117,9 +117,9 @@ export interface MailConfig {
*/
bcc?: string | Address | (string | Address)[] | undefined;
/**
* E-mail address that will appear in the "Reply-To:" field.
* Comma separated list or array of e-mail addresses that will appear in the "Reply-To:" field.
*/
replyTo?: string | Address | undefined;
replyTo?: string | Address | (string | Address)[] | undefined;
/**
* Subject of the e-mail.
*/
Expand Down

0 comments on commit 00fa35d

Please sign in to comment.