Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Specifying 'ReplyTo' is not working #2613

Closed
thevlf opened this issue Aug 11, 2024 · 9 comments
Closed

Specifying 'ReplyTo' is not working #2613

thevlf opened this issue Aug 11, 2024 · 9 comments
Labels
Service issue type:bug A broken experience

Comments

@thevlf
Copy link

thevlf commented Aug 11, 2024

Describe the bug

We recently noticed that email that is sent from our automated processes no longer displayed the correct 'Reply To' address when hitting reply.

Expected behavior

When an email came from our info@company.com address and a user hits reply, we expect it to then go to a specified mailbox, like IDS@company.com <-- this information is specified in our automation (which is a .net framework app written in C#).

How to reproduce

Using Microsoft.Graph version 4x (latest version repros the issue).
Send email with code where you have specifyied the Reply-To property.
Once the email is received, hit reply in Outlook and you will notice it is not sending the email to the ReplyTo address, rather the address of the service account that sent the email.

SDK Version

4.29.0

Latest version known to work for scenario above?

This did work on 4.29.0 until recently (last couple of weeks)

Known Workarounds

I am unable to get this to work. I have tried upgrading the Microsoft.Graph NuGet package to 4.29.0 and I still see the issue.

I was able to figure out how to update my code to get the mail to send when using the latest 5x Microsoft.Graph code, but I still do not see the ReplyTo values I specified when the mail arrives.

Debug output

Click to expand log ```
</details>


### Configuration

Windows 11 x64

### Other information

We noticed that this started happening withing that past couple of weeks (by looking at old emails that were sent that had the correct Reply-To address configured).
@thevlf thevlf added status:waiting-for-triage An issue that is yet to be reviewed or assigned type:bug A broken experience labels Aug 11, 2024
@JustinRustin
Copy link

Confirming that I can also replicate this issue

@Zei33
Copy link

Zei33 commented Aug 12, 2024

This is occurring with our organisation as well. This is a serious issue. Microsoft needs to pay attention to this ASAP.

Using Node package @microsoft/microsoft-graph-client ^3.0.6.

@wpo365
Copy link

wpo365 commented Aug 12, 2024

Yes, I am experiencing this issue as well and with me many of the users of my WordPress plugin WPO365 | MICROSOFT GRAPH MAILER. Please also check https://learn.microsoft.com/en-us/answers/questions/1855228/graph-api-replyto-not-set-when-sending-e-mails. I have also created a Microsoft Support Ticket (ID 2408081420001576) for this.

@flyExclusiveIT
Copy link

Our Airtable automations are having this same issue when send emails through our exchange online service.
Need a resolution as soon as possible.

@themillsarchive
Copy link

We have this issue too. Our code sending the mail (from a desktop app in C#/WinForms) looks like this:

using Message = Microsoft.Graph.Models.Message;
...
_msg = new Message
{
    Subject = subject,
    Body = new ItemBody
    {
        ContentType = BodyType.Text,
        Content = body
    },
    ToRecipients = tos.Select(x => new Recipient() { EmailAddress = new EmailAddress { Address = x } }).ToList()
};
...
if (replyTo != null)
{
    _msg.ReplyTo = [new() { EmailAddress = new EmailAddress { Address = replyTo } }];
}

@rkodev rkodev added Service issue and removed status:waiting-for-triage An issue that is yet to be reviewed or assigned labels Aug 13, 2024
@rkodev
Copy link
Contributor

rkodev commented Aug 13, 2024

This looks to be a service issue and not an SDK issue. There is a ticket mentioned by @wpo365 , I'd advice everyone else to move the conversation to the ticket so that the service team are able to respond

@joshchretien
Copy link

Experiencing the same issues.

@chayes60
Copy link

This appears to have been resolved, as updated here: https://learn.microsoft.com/en-us/answers/questions/1855228/graph-api-replyto-not-set-when-sending-e-mails?comment=answer-1638187&page=2#answers

Tested and confirmed it's working for us.

@andrueastman
Copy link
Member

Thanks for confirming @chayes60

We'll close this one for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Service issue type:bug A broken experience
Projects
None yet
Development

No branches or pull requests

10 participants