Hi Dino,
can you please kindly post this question in the English section of the forum:
https://learn.microsoft.com/en-us/answers/questions/
Have a great day,
Nikola Kochmalarski
Questo browser non è più supportato.
Esegui l'aggiornamento a Microsoft Edge per sfruttare i vantaggi di funzionalità più recenti, aggiornamenti della sicurezza e supporto tecnico.
Good morning Microsoft Support Team, I hope you can help me.
I'm trying to use Azure Communication Service to send SMS. I'm using a web application with Framework 4.6.1 in C# and I'm using your sample lines of code:
///////////////////////////////////////////////
using Azure.Communication.Sms;
SmsClient smsClient = new SmsClient(connStr);
SmsSendResult sendResult = smsClient.Send(
from: "XXX",
to: "YYY",
message: "ZZZ"
);
///////////////////////////////////////////////
but I get the following error:
on localhost:
"Retry failed after 4 tries. Retry settings can be adjusted in ClientOptions.Retry or by configuring a custom retry policy in ClientOptions.RetryPolicy."
on the server:
The type initializer for "Azure.Core.ClientOptions" threw an exception.'
Can you tell me something more? Is this an already known and resolved error?
I didn't find any answers or solutions in the https://learn.microsoft.com forum
Thank you!!
Hi Dino,
can you please kindly post this question in the English section of the forum:
https://learn.microsoft.com/en-us/answers/questions/
Have a great day,
Nikola Kochmalarski