Sending email with small attachment then email API giving response but if i send email with large size of attachment then API is not wait for response
if i am sending email with small attachment then email API giving response but if i send email with large size of attachment then API is not waiting for response, i tried with timeout but that is not helping, can some one help for this issue. I am sending email with 25 MB attachment max.
with large attachment it return response immediately with no sucess.i tried from that API directly that works but from my code it is not waiting for response.
public static async Task SendEmail1(HttpContextBase contextBase, Email email)
{
string status = string.Empty;
try
{
string Token = await GetVendorToken(contextBase, vendorCredentialDetails);