I want to write the application in which if I click on send button then message sent to particular URL.
could u help me to solve my prob.
Hi In order to send mail to particular email address
1.please configure SMTP server in your system
2.use namespaces using sytem.web and system.web.mail
U will get all the requiared functions from this two namespaces
hai
i had tested with System.web.mail in VS 2005but i got only error saying obsulete method so i tried with System.net.mail no error but the message is not send
Try with System.Net class
*************************************************
sample code
StringWriter str = new StringWriter();
System.Net.Mail.MailMessage mes = new System.Net.Mail.MailMessage("rchandran.t@gmail.com ", "nglravi@rediffmail.com");
HtmlTextWriter htw = new HtmlTextWriter(str);
htw.RenderBeginTag("html");
htw.RenderBeginTag("title");
htw.Write("Thank u " + TextBox1.Text);
htw.RenderEndTag();
htw.RenderEndTag();
htw.RenderBeginTag("Body");
htw.WriteLine("Thank u for registering with us");
htw.RenderEndTag();
I have a service that needs to send e-mail alerts. I have been attempting
to use the System.Net.Mail function from .NET but this seems to require the
IIS be installed and running. Since some of...
Hi,
I receive an access denied error (see below) when attempting to send an
email with BodyFormat=MailFormat.Html from an asp.net page. Exactly the same
code works fine in a console...
Hi,
I use the standard code given below to send an email from an ASP.NET
web form. The code executes fine but no Email is sent. All emails get
queued in the Inetpub mail queue.
I'm using my...
I have a web page that at the click of a button must send a bunch (1000+)
emails. Each email is sent individually. I have the code working fine,
using Mail Message classes and smtp and all that. ...
The following code is giving me a timeout problem., no matter what I do I
can't send a piece of mail using .net2.0 System.Net.Mail.SmtpClient via port
465 and using ssl, if however I try using...
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
Dear forum friends,
With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...