Why can't I send email using client.SendAsync()

I try to send email using client.SendAsync(), but  I get the error below, why? thanks!

Asynchronous operations are not allowed in this context. Page starting an asynchronous operation has to have the Async attribute set to true and an asynchronous operation can only be started on a page prior to PreRenderComplete event.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.InvalidOperationException: Asynchronous operations are not allowed in this context. Page starting an asynchronous operation has to have the Async attribute set to true and an asynchronous operation can only be started on a page prior to PreRenderComplete event.

 

 

    protected void Button1_Click(object sender, EventArgs e)
    {
        SmtpClient client = new SmtpClient();
        MailAddress from = new MailAddress("webmaster@aa.com");
        MailAddress to = new MailAddress(TextBox1.Text.Trim());
        MailMessage message = new MailMessage(from, to);
        message.Body = "How are you";
        message.Subject = "Title";
        client.SendAsync(message, null);
        message.Dispose();

    }


SuperCool Multiple ZIP - A utility to unzip multiple files and work with multiple zip files

SuperCool Random Number Generator
0
mycwcgr
2/22/2006 12:51:59 PM
asp.net.web-forms 93655 articles. 6 followers. Follow

23 Replies
2186 Views

Similar Articles

[PageSpeed] 23
Get it on Google Play
Get it on Apple App Store

As the error message says, set the page's Async attribute to True in the <%@ Page %> directive.
Regards

Dave
0
DMW
4/18/2006 1:33:26 AM

Three things you have to worry.

1. Async true as others mentioned.
2. SendCompleted has to be used
3. Pass 2nd parameter in SendAsync

Here is working example for your code:

<%@ Page Language="C#" Async="true" %>
<%@ Import Namespace="System.Net" %>
<%@ Import Namespace="System.Net.Mail" %>
<%@ Import Namespace="System.ComponentModel" %>

<script language="C#" runat="server">
protected void Button1_Click(object sender, EventArgs e)
    {      
        SmtpClient client = new SmtpClient("localhost"); // Keep server name if it's other than local
        MailAddress from = new MailAddress("Sreedhar.Koganti@BluePlanet.com"); //Email from
        MailAddress to = new MailAddress("Sreedhar.Koganti@BluePlanet.com"); //Email To
        MailMessage message = new MailMessage(from, to);
        message.Body = "How are you";
        message.Subject = "Title";

        object userState = message;
        client.SendCompleted += new SendCompletedEventHandler(SmtpClient_OnCompleted);
        client.SendAsync(message, userState);
             

   Response.Write("Email Has been Sent Successfully");

}

public static void SmtpClient_OnCompleted(object sender, AsyncCompletedEventArgs e)
{
            //Get the Original MailMessage object
            MailMessage mail= (MailMessage)e.UserState;

           //write out the subject
            string subject = mail.Subject;

            if (e.Cancelled)
            {
                Console.WriteLine("Send canceled for mail with subject [{0}].", subject);
            }
            if (e.Error != null)
            {
                Console.WriteLine("Error {1} occurred when sending mail [{0}] ", subject, e.Error.ToString());
            }
            else
            {
                Console.WriteLine("Message [{0}] sent.", subject );
            }
}
</script>

<form id="frmtestmail" runat="server">
<h3>Test Async Email<br></h3>
<asp:Button id="btnsubmit" Text="SendEmail" onClick="Button1_Click" runat="server"/><br>
</form>

 

Hope it helps!


Sreedhar
http://www.w3coder.org
weblog http://weblogs.asp.net/skoganti
0
SreedharK
4/18/2006 3:18:26 PM

When I use Send instead of SendAsync,  it works well!

BTW, I upload these code to remote hosting and I think I write correct setting in web.config include credentials


SuperCool Multiple ZIP - A utility to unzip multiple files and work with multiple zip files

SuperCool Random Number Generator
0
mycwcgr
4/18/2006 11:15:49 PM

Can I add message.Dispose(); to your code, just like the following code. If not , when I send a lot of emails, it will cause memory leak?

 

protected void Button1_Click(object sender, EventArgs e)
    {      
        SmtpClient client = new SmtpClient("localhost"); // Keep server name if it's other than local
        MailAddress from = new MailAddress("
Sreedhar.Koganti@BluePlanet.com"); //Email from
        MailAddress to = new MailAddress("Sreedhar.Koganti@BluePlanet.com"); //Email To
        MailMessage message = new MailMessage(from, to);
        message.Body = "How are you";
        message.Subject = "Title";

        object userState = message;
        client.SendCompleted += new SendCompletedEventHandler(SmtpClient_OnCompleted);
        client.SendAsync(message, userState);
   

      message.Dispose();     

   }


SuperCool Multiple ZIP - A utility to unzip multiple files and work with multiple zip files

SuperCool Random Number Generator
0
mycwcgr
4/19/2006 12:52:06 AM

When you use Send instead of SendAsync it will work as Synchronous code. SendAsync works as Async code.

So depending on the need you have to use Send or SendAsync.

Hope it helps!


Sreedhar
http://www.w3coder.org
weblog http://weblogs.asp.net/skoganti
0
SreedharK
4/19/2006 10:40:59 AM

Good Question.

For send You can do message.Dispose() right at the end of your code.

I would say for SendAdync doing in onComplete would be good idea. If you do immediately it will send mail or not was not sure as you are disposing.

But any way. For Async, you could do as below with Dispose. Just tried it and works.

<%@ Page Language="C#" Async="true" Debug="true" %>
<%@ Import Namespace="System.Net" %>
<%@ Import Namespace="System.Net.Mail" %>
<%@ Import Namespace="System.ComponentModel" %>

<script language="C#" runat="server">

 static bool mailSent = false;
 static string mailresult;
 static MailMessage message;

protected void Button1_Click(object sender, EventArgs e)
    {      
        SmtpClient client = new SmtpClient("localhost");
        MailAddress from = new MailAddress("
Sreedhar.Koganti@ManFromEarth.com");
        MailAddress to = new MailAddress("Sreedhar.Koganti@ManFromEarth.com");
        message = new MailMessage(from, to);
        message.Body = "How are you";
        message.Subject = "Title";
        client.SendCompleted += new SendCompletedEventHandler(SmtpClient_OnCompleted);
        string userState = "Sreedhar Koganti Test Message";

        client.SendAsync(message, userState);
             
   
   Response.Write("Email Has been Sent Successfully");

}

public static void SmtpClient_OnCompleted(object sender, AsyncCompletedEventArgs e)
{
            //Get the Original MailMessage object
           String token = (string) e.UserState;


            if (e.Cancelled)
            {
               mailresult = "Send canceled for mail with subject " + token.ToString();
            }
            if (e.Error != null)
            {
              mailresult = "Error " + e.Error.ToString() + " occurred";
            }
            else
            {
               mailresult = "Message  sent.";
            }
 mailSent = true;
        message.Dispose();
}
</script>

<form id="frmtestmail" runat="server">
<h3>Test Async Email<br></h3>
<asp:Button id="btnsubmit" Text="SendEmail" onClick="Button1_Click" runat="server"/><br>
</form>

 

Hope it helps!


Sreedhar
http://www.w3coder.org
weblog http://weblogs.asp.net/skoganti
0
SreedharK
4/20/2006 2:27:16 PM
I think there are som problems in your code, you set "message" as static, if I send many emails using SendAsyn method, the "message" only have one email value, maybe you send all emails  to only one email address!
SuperCool Multiple ZIP - A utility to unzip multiple files and work with multiple zip files

SuperCool Random Number Generator
0
mycwcgr
4/21/2006 12:52:35 AM

let's say If I click 5 times, then I will get 5 emails, without any problem!

Was not sure what you are saying. If you show your code, then may be I will get clear idea on how you are trying to send emails and where you got the problem!

Please post the code and I will try to run your code on my machine and see where you have the problem!

 


Sreedhar
http://www.w3coder.org
weblog http://weblogs.asp.net/skoganti
0
SreedharK
4/21/2006 1:54:42 PM

If I click Button1, I think maybe  the information  can only be sent to 3@2.com  email!

because "message" is static, when run   "SendMyEmail("a@b.com",3@2.com); " prevenient  "message" (such as 1@1.com) have been overwrite!

 

protected void Button1_Click(object sender, EventArgs e)
{      
  SendMyEmail("a@b.com","1@1.com");
  SendMyEmail("a@b.com","2@2.com");
  SendMyEmail("a@b.com","3@2.com");
}

 

public satic SendMyEmail(string from; string to)
{

        SmtpClient client = new SmtpClient("localhost");
        MailAddress from1 = new MailAddress(from);
        MailAddress to1 = new MailAddress(to);
        message = new MailMessage(from1, to1);
        message.Body = "How are you";
        message.Subject = "Title";
        client.SendCompleted += new SendCompletedEventHandler(SmtpClient_OnCompleted);
        string userState = "Sreedhar Koganti Test Message";

        client.SendAsync(message, userState);
          

}

...

 


SuperCool Multiple ZIP - A utility to unzip multiple files and work with multiple zip files

SuperCool Random Number Generator
0
mycwcgr
4/21/2006 2:33:24 PM

Don't need static in SendMyEmail function, that could be one mistake.

Other than that, it should work and it should send 3 emails. I have test it and it sent 3 emails, here is the code just in case if needed.

<%@ Page Language="C#" Async="true" Debug="true" %>
<%@ Import Namespace="System.Net" %>
<%@ Import Namespace="System.Net.Mail" %>
<%@ Import Namespace="System.ComponentModel" %>

<script language="C#" runat="server">

 static bool mailSent = false;
 static string mailresult;
 static MailMessage message;

protected void Button1_Click(object sender, EventArgs e)
    {      
        SendMyEmail("
Sreedhar.Koganti@ManfromEarth.com","Sreedhar.Koganti@ManfromEarth");
   SendMyEmail("Sreedhar.Koganti@ManfromEarth","vinay.Nair@ManfromEarth");
   SendMyEmail("Sreedhar.Koganti@ManfromEarth","SreedharK@ManfromEarth");

 


   
   Response.Write("Email Has been Sent Successfully");

}


public  void SendMyEmail(string from, string to)
{

        SmtpClient client = new SmtpClient("localhost");
        MailAddress from1 = new MailAddress(from);
        MailAddress to1 = new MailAddress(to);
        message = new MailMessage(from1, to1);
        message.Body = "How are you";
        message.Subject = "Title";
        client.SendCompleted += new SendCompletedEventHandler(SmtpClient_OnCompleted);
        string userState = "Sreedhar Koganti Test Message";

        client.SendAsync(message, userState);
          

}

 

public static void SmtpClient_OnCompleted(object sender, AsyncCompletedEventArgs e)
{
            //Get the Original MailMessage object
           String token = (string) e.UserState;


            if (e.Cancelled)
            {
               mailresult = "Send canceled for mail with subject " + token.ToString();
            }
            if (e.Error != null)
            {
              mailresult = "Error " + e.Error.ToString() + " occurred";
            }
            else
            {
               mailresult = "Message  sent.";
            }
 mailSent = true;
        message.Dispose();
}
</script>

<form id="frmtestmail" runat="server">
<h3>Test Async Email<br></h3>
<asp:Button id="btnsubmit" Text="SendEmail" onClick="Button1_Click" runat="server"/><br>
</form>

 

Hope it will be clear to you now.


Sreedhar
http://www.w3coder.org
weblog http://weblogs.asp.net/skoganti
0
SreedharK
4/21/2006 4:30:46 PM

Just to make sure, I did one more thing, I passed subject different for the three emails, so that will know it get's 3 different messages in each email.

See the code below.

<%@ Page Language="C#" Async="true" Debug="true" %>
<%@ Import Namespace="System.Net" %>
<%@ Import Namespace="System.Net.Mail" %>
<%@ Import Namespace="System.ComponentModel" %>

<script language="C#" runat="server">

 static bool mailSent = false;
 static string mailresult;
 static MailMessage message;

protected void Button1_Click(object sender, EventArgs e)
    {      
        SendMyEmail("Sreedhar.Koganti@ManfromEarth","Sreedhar.Koganti@ManfromEarth","Message one");
   SendMyEmail("Sreedhar.Koganti@ManfromEarth","Sreedhar.Koganti@ManfromEarth","Message two");
   SendMyEmail("Sreedhar.Koganti@ManfromEarth","Sreedhar.Koganti@ManfromEarth","Message Three");

    
   Response.Write("Email Has been Sent Successfully");

}


public  void SendMyEmail(string from, string to, string subj)
{

        SmtpClient client = new SmtpClient("localhost");
        MailAddress from1 = new MailAddress(from);
        MailAddress to1 = new MailAddress(to);
        message = new MailMessage(from1, to1);
        message.Body = "How are you";
        message.Subject = subj;
        client.SendCompleted += new SendCompletedEventHandler(SmtpClient_OnCompleted);
        string userState = "Sreedhar Koganti Test Message";

        client.SendAsync(message, userState);
          

}

 

public static void SmtpClient_OnCompleted(object sender, AsyncCompletedEventArgs e)
{
            //Get the Original MailMessage object
           String token = (string) e.UserState;


            if (e.Cancelled)
            {
               mailresult = "Send canceled for mail with subject " + token.ToString();
            }
            if (e.Error != null)
            {
              mailresult = "Error " + e.Error.ToString() + " occurred";
            }
            else
            {
               mailresult = "Message  sent.";
            }
 mailSent = true;
        message.Dispose();
}
</script>

<form id="frmtestmail" runat="server">
<h3>Test Async Email<br></h3>
<asp:Button id="btnsubmit" Text="SendEmail" onClick="Button1_Click" runat="server"/><br>
</form>

 

Hope it helps!


Sreedhar
http://www.w3coder.org
weblog http://weblogs.asp.net/skoganti
0
SreedharK
4/21/2006 4:32:31 PM

When the system run "SendMyEmail("Sreedhar.Koganti@ManfromEarth","Sreedhar.Koganti@ManfromEarth","Message one");", message=new MailMessage("Sreedhar.Koganti@ManfromEarth","Sreedhar.Koganti@ManfromEarth","Message "); the "client.SendAsync(message, userState);" enter a queue and maybe it don't be run immediately

when the system run  "SendMyEmail("Sreedhar.Koganti@ManfromEarth","Sreedhar.Koganti@ManfromEarth","Message two");",

maybe the value of "message" will be overwrite, so maybe the three emails is the same, it depend the system speed, I think!




 


SuperCool Multiple ZIP - A utility to unzip multiple files and work with multiple zip files

SuperCool Random Number Generator
0
mycwcgr
4/22/2006 2:38:59 PM

Did you face that kind of problem? As my understanding it won't happen.

In my case I am able to get all the three messages with three different subject.

Intrestingly some times I got first message first, then third message and then I got the second message. So if that is the case, you should get all the 3 messages and you won't have overwrite problem!

Hope it helps!

 


Sreedhar
http://www.w3coder.org
weblog http://weblogs.asp.net/skoganti
0
SreedharK
4/22/2006 4:41:27 PM

One thing I don't understand with sending Async emails from ASP.NET page is when we call SendAsync it should be executed on a separate thread so our page can continue its execution flow and finish its response no matter how long the sending will take.

1. How then we can call method on the same page using SendCompletedEventHandler? The page object might not exist by that time and in this forum there are examples that people doing that.

2. My expectation was that I can have separate class which might have static method which I will execute on SendCompletedEventHandler and this way we can report possible errors.
However when I'm raising exception in there the exception comes as part of Page Response. So for me it looks as SendAsync works on the same thread, page waites for it to be executed and comes back with information on any errors raised by it.

Is it how it should be? So what is meaning of the Async then? 

Completely confused... Can anyone help?

0
Myroslav
7/25/2007 9:41:34 AM

Hello,

I searched all over, and this was the only post dealing with the SendAsync() method within ASP.NET. I have a similar problem, except my SendAsync() method is called from within a class library. Everything was fine when calling this code from within a Windows application, however in ASP.NET I have some issues with this code:

1. Since I am in a class library, it will be difficult to trace all of the different places within the ASP.NET application and put the Async="true" page directive in, and I will run into this every time I add a call that sends email from some other page in my application. The action of sending email is done within the class library structure and may not be immediately obvious when developing the UI layer. Is there any way to do this on an application level, and if so will it cause any side effects if Async="true" is not required?

2. Since I am using CSLA, my class is marked serializable. I can't put a field in my library of type MailMessage because it is not serializable. Therefore, I have no way to dispose the message.

3. I can't respond to the event from the ASP.NET page because it is being raised and handled within my class library.

Any insight on how to make this work from within a class library that is being called from an ASP.NET page would be appreciated.

Thanks,

-NightOwl888


-NightOwl888
Microsoft Certified Technology Specialist
0
NightOwl888
7/14/2008 4:49:13 PM

NightOwl888:

Hello,

I searched all over, and this was the only post dealing with the SendAsync() method within ASP.NET. I have a similar problem, except my SendAsync() method is called from within a class library. Everything was fine when calling this code from within a Windows application, however in ASP.NET I have some issues with this code:

1. Since I am in a class library, it will be difficult to trace all of the different places within the ASP.NET application and put the Async="true" page directive in, and I will run into this every time I add a call that sends email from some other page in my application. The action of sending email is done within the class library structure and may not be immediately obvious when developing the UI layer. Is there any way to do this on an application level, and if so will it cause any side effects if Async="true" is not required?

2. Since I am using CSLA, my class is marked serializable. I can't put a field in my library of type MailMessage because it is not serializable. Therefore, I have no way to dispose the message.

3. I can't respond to the event from the ASP.NET page because it is being raised and handled within my class library.

Any insight on how to make this work from within a class library that is being called from an ASP.NET page would be appreciated.

Thanks,

-NightOwl888

 

This is the InnerException.Message that I got - maybe it can help you:

Asynchronous operations are not allowed in this context. Page starting an asynchronous operation has to have the Async attribute set to true and an asynchronous operation can only be started on a page prior to PreRenderComplete event.

(I managed to send it through an ASPX page once added the Page directive: Async="true")


10X N C U L8R
Best Regards
YovavG@GMail.com
0
Yovav
9/7/2008 12:18:02 AM
Reply:

Similar Artilces:

WindowsApplication can send email,but WebApplication can't send,and don't show error.
WindowsApplication can send email,but WebApplication can't send,and don't show error. this is code Dim strBody As String = "This is the body..." Dim OLApp As New outlook.Application() Dim msg As outlook.MailItem msg = OLApp.CreateItem(outlook.OlItemType.olMailItem) msg.To = "sbzhong@cclmotors.com" msg.Subject = "Automated e-mail" msg.Body = strBody CType(msg, outlook._MailItem).Send() ...

A problem to send email using Smtp
I have a proble to send an email from asp.net I do the following code to send an email: MailMessage mail=new MailMessage(); mail.From="test@server.com"; mail.To="myemailaddress@server.com"; mail.BodyFormat=MailFormat.Html; mail.Subject="testing..."; mail.Body="cool"; SmtpMail.SmtpServer="localhost"; SmtpMail.Send(mail); But I dont' receive an email when I use this method. Why is that? How can I send an email? Thanks in advance! check and see if.. -your client-side code has no errors -you imported the S...

Two things,Why do I keep getting emails that I don't want. can't get rid of them? Why can't I get my email when I am out of town? Or can I?
Name: Ed Leech Email: ELCraftatzoominternetdotnet Product: Thunderbird Summary: Two things,Why do I keep getting emails that I don't want. can't get rid of them? Why can't I get my email when I am out of town? Or can I? Comments: I am getting frusted with all the emails coming in that I do not want, I am using the tools to get thme out but they keep coming. They just use different names or whatever. I have been thinking of just switching to something else but my business intrusts know this email and it is tooo confusing to change. Every time I go out of town on bu...

GW702 client can send but can't receive email
I have a user a user that can not receive any email but can send email without any problem. His post office resides on a Win 2000 server. We have run GWCHECK Stucture Fix, but still can not correct the situation. Client is GW 7.0.2 HP1a on a Win XP sp2 PC. PO and domain are also GW 7.0.2 HP1a. I have searched the Novell Knowledge base and Googled, but no luck in finding anything related. We also have verified that the Junk mail setting are involved. Suggestions fixes welcome! -- Bruce Wise Does he get any particular error message (or I should say is there any parti...

Can't install Email-Send & Can't access Bugzilla in Browser
Hi All I am facing this problem for many days now and actually am stuck at this point can somebody please help me in resolving this (platform is Windows Server 2003, perl 5.8.8, Apache 2.2.4) 1) When I runchecksetup.pl command it give me error that Email Send and Emil MIME Modifier are not installed ..... I followed the instructions and run the commands but am unable to install these two C:\Bugzilla\bugzilla-3.0>ppm install Email-Send Downloading ActiveState Package Repository packlist...not modified Downloading theory58S packlist...redirect Downloading theory58S packlist...

can't send email or write, reply or forward...incoming is all blurred & can't read it
Name: Ellen Wood Email: sienna8841at1gotodotcom Product: Thunderbird Summary: can't send email or write, reply or forward...incoming is all blurred & can't read it Comments: Please send me back some info. to help me get back on my thunderbird...I can only receive mail, but can't even see it to read it. Browser Details: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8 ...

For interrupting.web form Resized by position of the div : if div can't dispaly all (such as only top part , then web form heithten the heght),resize the web form
Web Form Resized by position of the div : if div can't dispaly all (such as only top part , then web form heithten the heght),resize the web form ! Because of my pool English, if you can't see , I will explain more ! ThanksGambler is the real life I guess you mean when form grows it also grow parent div element. This is normal. If you want div to stay fixed size and rather clip the form and maybe show a scrollbar, look at overflow property in CSS.Thanks------------------------------------------------------------This posting is provided "AS IS" with no warranties, and confers no ...

Can't Send Email using Verizon Email with SM. OE6 works okay.
I am trying to setup SM 1.1.11 to work with Verizon email. Reading email works but sending does not. When I try to send with SM, I get the following: "Send Message Error. Sending of message failed. The message could not be because connecting to SMTP server outgoing.verizon.net failed. ...." I am able to get the send to work in OE6 with the following settings: OE6 Outgoing port = 25 "Server requires SSL" is not checked "Outgoing Server requires authentication" IS checked Settings "Use same settings as my incoming server" IS checked ...

can someone one give me difference between web form and mobile web form and which or where or when i'm using the forms?
thanks Marc Hi Marc, Based on my understanding, you want to know the differences between the ASP.NET web application and ASP.NET mobile web application. If I have misunderstood you, please feel free to let me know. The ASP.NET forms are used to develop the ASP.NET pages for desktop browsers and The ASP.NET mobile forms are used to develop the ASP.NET pages for mobile device browsers. When we create the ASP.NET mobile web forms pages, we can use nearly all the features of ASP.NET. But there are a couple of compatibility issues: Error Handling and Reporting. Tracing. Using Redi...

can't login from client, but can use ping to and from clients
We need more info. What version of Novell Client ? Were you able to login before ? Is this a new server installation ? Are there other servers in this TREE ? If you replace the server name with its IP address under Novell GUI Login | Advanced | Preferred Server - can you login then ? -- Edison Ortiz Novell Product Support Forum SysOp (No Email Support, Thanks !) > I have had many problems. 1. Replaced power supply 2. Replaced motherboard 3. hard drive 2 of 2 disk mirror failed. can still log in 4. Replaced all ram cannot login from client. Please hel...

Can't send email from Thunderbird client
Name: James Kren Product: Thunderbird Summary: Can't send email from Thunderbird client Comments: When my wife uses her Thunderbird client to try and SEND email it times out. This happened since she was automatically updated to 2.0.0.21. She uses Roadrunner and CA firewall. jmkren@roadrunner.com Browser Details: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.7) Gecko/2009021910 Firefox/3.0.7 From URL: http://hendrix.mozilla.org/ Note to readers: Hendrix gives no expectation of a response to this feedback but if you wish to provide one you must BCC (not C...

sendAsync email with 'sending email' screen and 'email sent' screen
hi i have written my first sendAsync contact form that sends me an email and it works fine. and when the sendCompletedCallback event is fired the contact form is set to display:none and screen is shown that says message sent. i am planning on adding an intermediate 'sending email' screen. is this a good idea is it necacery? can this only be done by calling a javascript function from the form's button's onclick event handler? or can it be done in the code behind by sending a response to the submitted form straight away before it is processed and then sending another when the e...

SM 2.0 Can't Get Email, But Can Send Email
I've just installed SeaMonkey 2.0, imported all my old data, and started the new version. I have a couple of problems/questions: 1. I can send email, but when I click on the Get Msgs/Get All New Messages menu item, nothing happens. No status messages in the footer to show any activity, and the messages I can see in my webmail account inbox are not downloaded. If I start the old version it downloads the messages just fine. 2. When I start the email app, no folder is selected, so my Inbox emails don't appear in the right pane until I select the Inbox folder. I used to...

Client send a new email that can't be replied to
I've got a client that is send a new email that looks like the box you get when you are replying to an email. All of the icons are on the right side. If you click reply, it opens a box that now will let you actually reply. I've reset the client on the machine, I've reset the client options, I've rebuilt the indexes, but it doesn't seem to fix the problem. This also effects the full text search. The user can only search several years ago in full text. Searching on a name yields all the results that the full text search doesn't. I've attached a c...

Web resources about - Why can't I send email using client.SendAsync() - asp.net.web-forms

Resources last updated: 11/23/2015 7:50:13 PM