473,569 Members | 2,772 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Sending Mails

Dear All
How can i send mails using vb.net
Thanx all
Dec 7 '05 #1
6 2729
Sending Mail Using Dot net

System.Web.Mail
---------------
namespace provides the classes for sending Email in Dot net.

MailMessage
-----------
Manage the mail message contents.

Properties
==========

Attachment
-----------
Specifies the list of the attachments that are transmitted with the
message

Bcc
-----------
A list of semicolon delimited email addresses that receive a Blind
Carbon Copy of the message

Body
-----------
Contains the message text that has to be sent.

BodyEncoding
-------------
The encoding type of the email message.

BodyFormat
-----------
Defines the content type of the body of the message

Cc
-----------
A list of semicolon delimited email addresses that receive a Carbon Copy
of the message

From
-----------
The email address of the sender.

Header
-----------
Specifies the custom headers which are transmitted with the
Message

Priority
-----------
The priority of the email message

Subject
-----------
Subject Line of the email message.

To
-----------
email address of the recipient.

MailAttachments
----------------
Manage the mail attachment.

SmtpMail
-----------
Send email to the mail server.

Let us see it step by step
=============== =============

Create a Visual basic application
And drop following controls and set the properties accordingly

Control Property
======== ==========

Label Text : Smtp Server

TextBox Name : txtSMTPServer

Label Text : From

TextBox Name : txtFrom

Label Text : From Display Name

TextBox Name : txtFromDisplayN ame

Label Text : Recipient

TextBox txtTo

Label Text : Attachment

ListBox Name : lstAttachment

Label Text : Subject

TextBox Name : txtSubject

Label Text : Message

TextBox Name : txtMessage
Multiline : True
Scrollbars : Both

Button Text : Add attachment
Name : BtnAdd
Button Text : Remove attachment
Name : btnRemove
Button Text : Send
Name : btnSend
CheckBox Text: Send As HTML
Name : chkFormat
OpenFileDialog Name : OFD
DefaultExt : *.*
InitialDirector y : c:\
Multiselect : true

Now let us see the coding part
=============== ===============
'Invoke the Code widow and type the following statement above the Class
declaration

Imports System.Web.Mail '''-->Code

Within the Class declaration, in the general section declare variables
required for this project

' Variable which will send the mail

Dim obj As System.Web.Mail .SmtpMail '''-->Code
'Variable to store the attachments
Dim Attachment As System.Web.Mail .MailAttachment '''-->Code

'Variable to create the message to send
Dim Mailmsg As New System.Web.Mail .MailMessage() '''-->Code

'Double click on the addattachment button to add the code

'Type the following lines

'Show open dialogue box to select the files to attach

Dim Counter As Integer '''-->Code
OFD.CheckFileEx ists = True '''-->Code
OFD.Title = "Select file(s) to attach" '''-->Code
OFD.ShowDialog( ) '''-->Code

For Counter = 0 To UBound(OFD.File Names) '''-->Code
lstAttachment.I tems.Add(OFD.Fi leNames(Counter )) '''-->Code
Next '''-->Code

'Double Click on the Removeattachmen t button

'Type the following lines

'Remove the attachments
If lstAttachment.S electedIndex > -1 Then '''-->Code
lstAttachment.I tems.RemoveAt(l stAttachment.Se lectedIndex) '''-->Code
End If '''-->Code

'Double Click on the Send button

'Type the following lines
Dim Counter As Integer '''-->Code

'Validate the data
If txtSMTPServer.T ext = "" Then '''-->Code
MsgBox("Enter the SMTP server info ...!!!", '''-->Code
MsgBoxStyle.Inf ormation, "Send Email") '''-->Code
Exit Sub '''-->Code
End If '''-->Code

If txtFrom.Text = "" Then '''-->Code
MsgBox("Enter the From email address ...!!!", '''-->Code
MsgBoxStyle.Inf ormation, "Send Email") '''-->Code
Exit Sub '''-->Code
End If '''-->Code

If txtTo.Text = "" Then '''-->Code
MsgBox("Enter the Recipient email address ...!!!", '''-->Code
MsgBoxStyle.Inf ormation, "Send Email") '''-->Code
Exit Sub '''-->Code
End If '''-->Code

If txtSubject.Text = "" Then '''-->Code
MsgBox("Enter the Email subject ...!!!", '''-->Code
MsgBoxStyle.Inf ormation, "Send Email") '''-->Code
Exit Sub '''-->Code
End If '''-->Code

'Set the properties
‘Assign the SMTP server
obj.SmtpServer = txtSMTPServer.T ext '''-->Code
'Multiple recepients can be specified using ; as the delimeter
‘Address of the recipient
Mailmsg.To = txtTo.Text '''-->Code
‘Your From Address
‘You can also use a custom header Reply-To for a different replyto
'address
Mailmsg.From = "\" & txtFromDisplayN ame.Text & "\ <" & txtFrom.Text &
">" '''-->Code
'Specify the body format
If chkFormat.Check ed = True Then '''-->Code
Mailmsg.BodyFor mat = MailFormat.Html 'Send the mail in HTML Format
Else '''-->Code
Mailmsg.BodyFor mat = MailFormat.Text '''-->Code
End If '''-->Code

'If you want you can add a reply to header
'Mailmsg.Header s.Add("Reply-To", "Ma***@geinetec h.net")
'custom headersare added like this
'Mailmsg.Header s.Add("Manoj", "TestHeader ")

‘Mail Subject
Mailmsg.Subject = txtSubject.Text '''-->Code

‘Attach the files one by one
For Counter = 0 To lstAttachment.I tems.Count - 1 '''-->Code
Attachment = New MailAttachment( lstAttachment.I tems(Counter))
‘Add it to the mail message
Mailmsg.Attachm ents.Add(Attach ment) '''-->Code
Next '''-->Code

‘Mail Body
Mailmsg.Body = txtMessage.Text '''-->Code
‘Call the send method to send the mail
obj.Send(Mailms g) '''-->Code

*************** *************** *************** *************** ***********
Send SMTP mail using VB.NET
By Chris Dufour

http://www.codeproject.com/vb/net/epsendmail.asp

Bye
Venkat_KL

For Anything and Everything, Please Let Me Know

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Dec 7 '05 #2
Hi,

http://www.systemwebmail.net/

Greetz Peter

--
Programming today is a race between software engineers striving to build
bigger and better idiot-proof programs, and the Universe trying to produce
bigger and better idiots. So far, the Universe is winning. (Rich Cook)

"Venkat_KL" <ve*******@yaho o.com> schreef in bericht
news:Ob******** ******@TK2MSFTN GP11.phx.gbl...
Sending Mail Using Dot net

System.Web.Mail
---------------
namespace provides the classes for sending Email in Dot net.

MailMessage
-----------
Manage the mail message contents.

Properties
==========

Attachment
-----------
Specifies the list of the attachments that are transmitted with the
message

Bcc
-----------
A list of semicolon delimited email addresses that receive a Blind
Carbon Copy of the message

Body
-----------
Contains the message text that has to be sent.

BodyEncoding
-------------
The encoding type of the email message.

BodyFormat
-----------
Defines the content type of the body of the message

Cc
-----------
A list of semicolon delimited email addresses that receive a Carbon Copy
of the message

From
-----------
The email address of the sender.

Header
-----------
Specifies the custom headers which are transmitted with the
Message

Priority
-----------
The priority of the email message

Subject
-----------
Subject Line of the email message.

To
-----------
email address of the recipient.

MailAttachments
----------------
Manage the mail attachment.

SmtpMail
-----------
Send email to the mail server.

Let us see it step by step
=============== =============

Create a Visual basic application
And drop following controls and set the properties accordingly

Control Property
======== ==========

Label Text : Smtp Server

TextBox Name : txtSMTPServer

Label Text : From

TextBox Name : txtFrom

Label Text : From Display Name

TextBox Name : txtFromDisplayN ame

Label Text : Recipient

TextBox txtTo

Label Text : Attachment

ListBox Name : lstAttachment

Label Text : Subject

TextBox Name : txtSubject

Label Text : Message

TextBox Name : txtMessage
Multiline : True
Scrollbars : Both

Button Text : Add attachment
Name : BtnAdd
Button Text : Remove attachment
Name : btnRemove
Button Text : Send
Name : btnSend
CheckBox Text: Send As HTML
Name : chkFormat
OpenFileDialog Name : OFD
DefaultExt : *.*
InitialDirector y : c:\
Multiselect : true

Now let us see the coding part
=============== ===============
'Invoke the Code widow and type the following statement above the Class
declaration

Imports System.Web.Mail '''-->Code

Within the Class declaration, in the general section declare variables
required for this project

' Variable which will send the mail

Dim obj As System.Web.Mail .SmtpMail '''-->Code
'Variable to store the attachments
Dim Attachment As System.Web.Mail .MailAttachment '''-->Code

'Variable to create the message to send
Dim Mailmsg As New System.Web.Mail .MailMessage() '''-->Code

'Double click on the addattachment button to add the code

'Type the following lines

'Show open dialogue box to select the files to attach

Dim Counter As Integer '''-->Code
OFD.CheckFileEx ists = True '''-->Code
OFD.Title = "Select file(s) to attach" '''-->Code
OFD.ShowDialog( ) '''-->Code

For Counter = 0 To UBound(OFD.File Names) '''-->Code
lstAttachment.I tems.Add(OFD.Fi leNames(Counter )) '''-->Code
Next '''-->Code

'Double Click on the Removeattachmen t button

'Type the following lines

'Remove the attachments
If lstAttachment.S electedIndex > -1 Then '''-->Code
lstAttachment.I tems.RemoveAt(l stAttachment.Se lectedIndex) '''-->Code
End If '''-->Code

'Double Click on the Send button

'Type the following lines
Dim Counter As Integer '''-->Code

'Validate the data
If txtSMTPServer.T ext = "" Then '''-->Code
MsgBox("Enter the SMTP server info ...!!!", '''-->Code
MsgBoxStyle.Inf ormation, "Send Email") '''-->Code
Exit Sub '''-->Code
End If '''-->Code

If txtFrom.Text = "" Then '''-->Code
MsgBox("Enter the From email address ...!!!", '''-->Code
MsgBoxStyle.Inf ormation, "Send Email") '''-->Code
Exit Sub '''-->Code
End If '''-->Code

If txtTo.Text = "" Then '''-->Code
MsgBox("Enter the Recipient email address ...!!!", '''-->Code
MsgBoxStyle.Inf ormation, "Send Email") '''-->Code
Exit Sub '''-->Code
End If '''-->Code

If txtSubject.Text = "" Then '''-->Code
MsgBox("Enter the Email subject ...!!!", '''-->Code
MsgBoxStyle.Inf ormation, "Send Email") '''-->Code
Exit Sub '''-->Code
End If '''-->Code

'Set the properties
'Assign the SMTP server
obj.SmtpServer = txtSMTPServer.T ext '''-->Code
'Multiple recepients can be specified using ; as the delimeter
'Address of the recipient
Mailmsg.To = txtTo.Text '''-->Code
'Your From Address
'You can also use a custom header Reply-To for a different replyto
'address
Mailmsg.From = "\" & txtFromDisplayN ame.Text & "\ <" & txtFrom.Text &
">" '''-->Code
'Specify the body format
If chkFormat.Check ed = True Then '''-->Code
Mailmsg.BodyFor mat = MailFormat.Html 'Send the mail in HTML Format
Else '''-->Code
Mailmsg.BodyFor mat = MailFormat.Text '''-->Code
End If '''-->Code

'If you want you can add a reply to header
'Mailmsg.Header s.Add("Reply-To", "Ma***@geinetec h.net")
'custom headersare added like this
'Mailmsg.Header s.Add("Manoj", "TestHeader ")

'Mail Subject
Mailmsg.Subject = txtSubject.Text '''-->Code

'Attach the files one by one
For Counter = 0 To lstAttachment.I tems.Count - 1 '''-->Code
Attachment = New MailAttachment( lstAttachment.I tems(Counter))
'Add it to the mail message
Mailmsg.Attachm ents.Add(Attach ment) '''-->Code
Next '''-->Code

'Mail Body
Mailmsg.Body = txtMessage.Text '''-->Code
'Call the send method to send the mail
obj.Send(Mailms g) '''-->Code

*************** *************** *************** *************** ***********
Send SMTP mail using VB.NET
By Chris Dufour

http://www.codeproject.com/vb/net/epsendmail.asp

Bye
Venkat_KL

For Anything and Everything, Please Let Me Know

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com

Dec 7 '05 #3
I use OpenSMTP (use google)

Because i need to send emails that include both text and HTML version in
same mail, with embeddet graphics.

/Sřren Reinke

"Venkat_KL" <ve*******@yaho o.com> wrote in message
news:Ob******** ********@TK2MSF TNGP11.phx.gbl. ..
Sending Mail Using Dot net

System.Web.Mail
---------------
namespace provides the classes for sending Email in Dot net.

MailMessage
-----------
Manage the mail message contents.

Properties
==========

Attachment
-----------
Specifies the list of the attachments that are transmitted with the
message

Bcc
-----------
A list of semicolon delimited email addresses that receive a Blind
Carbon Copy of the message

Body
-----------
Contains the message text that has to be sent.

BodyEncoding
-------------
The encoding type of the email message.

BodyFormat
-----------
Defines the content type of the body of the message

Cc
-----------
A list of semicolon delimited email addresses that receive a Carbon Copy
of the message

From
-----------
The email address of the sender.

Header
-----------
Specifies the custom headers which are transmitted with the
Message

Priority
-----------
The priority of the email message

Subject
-----------
Subject Line of the email message.

To
-----------
email address of the recipient.

MailAttachments
----------------
Manage the mail attachment.

SmtpMail
-----------
Send email to the mail server.

Let us see it step by step
=============== =============

Create a Visual basic application
And drop following controls and set the properties accordingly

Control Property
======== ==========

Label Text : Smtp Server

TextBox Name : txtSMTPServer

Label Text : From

TextBox Name : txtFrom

Label Text : From Display Name

TextBox Name : txtFromDisplayN ame

Label Text : Recipient

TextBox txtTo

Label Text : Attachment

ListBox Name : lstAttachment

Label Text : Subject

TextBox Name : txtSubject

Label Text : Message

TextBox Name : txtMessage
Multiline : True
Scrollbars : Both

Button Text : Add attachment
Name : BtnAdd
Button Text : Remove attachment
Name : btnRemove
Button Text : Send
Name : btnSend
CheckBox Text: Send As HTML
Name : chkFormat
OpenFileDialog Name : OFD
DefaultExt : *.*
InitialDirector y : c:\
Multiselect : true

Now let us see the coding part
=============== ===============
'Invoke the Code widow and type the following statement above the Class
declaration

Imports System.Web.Mail '''-->Code

Within the Class declaration, in the general section declare variables
required for this project

' Variable which will send the mail

Dim obj As System.Web.Mail .SmtpMail '''-->Code
'Variable to store the attachments
Dim Attachment As System.Web.Mail .MailAttachment '''-->Code

'Variable to create the message to send
Dim Mailmsg As New System.Web.Mail .MailMessage() '''-->Code

'Double click on the addattachment button to add the code

'Type the following lines

'Show open dialogue box to select the files to attach

Dim Counter As Integer '''-->Code
OFD.CheckFileEx ists = True '''-->Code
OFD.Title = "Select file(s) to attach" '''-->Code
OFD.ShowDialog( ) '''-->Code

For Counter = 0 To UBound(OFD.File Names) '''-->Code
lstAttachment.I tems.Add(OFD.Fi leNames(Counter )) '''-->Code
Next '''-->Code

'Double Click on the Removeattachmen t button

'Type the following lines

'Remove the attachments
If lstAttachment.S electedIndex > -1 Then '''-->Code
lstAttachment.I tems.RemoveAt(l stAttachment.Se lectedIndex) '''-->Code
End If '''-->Code

'Double Click on the Send button

'Type the following lines
Dim Counter As Integer '''-->Code

'Validate the data
If txtSMTPServer.T ext = "" Then '''-->Code
MsgBox("Enter the SMTP server info ...!!!", '''-->Code
MsgBoxStyle.Inf ormation, "Send Email") '''-->Code
Exit Sub '''-->Code
End If '''-->Code

If txtFrom.Text = "" Then '''-->Code
MsgBox("Enter the From email address ...!!!", '''-->Code
MsgBoxStyle.Inf ormation, "Send Email") '''-->Code
Exit Sub '''-->Code
End If '''-->Code

If txtTo.Text = "" Then '''-->Code
MsgBox("Enter the Recipient email address ...!!!", '''-->Code
MsgBoxStyle.Inf ormation, "Send Email") '''-->Code
Exit Sub '''-->Code
End If '''-->Code

If txtSubject.Text = "" Then '''-->Code
MsgBox("Enter the Email subject ...!!!", '''-->Code
MsgBoxStyle.Inf ormation, "Send Email") '''-->Code
Exit Sub '''-->Code
End If '''-->Code

'Set the properties
'Assign the SMTP server
obj.SmtpServer = txtSMTPServer.T ext '''-->Code
'Multiple recepients can be specified using ; as the delimeter
'Address of the recipient
Mailmsg.To = txtTo.Text '''-->Code
'Your From Address
'You can also use a custom header Reply-To for a different replyto
'address
Mailmsg.From = "\" & txtFromDisplayN ame.Text & "\ <" & txtFrom.Text &
">" '''-->Code
'Specify the body format
If chkFormat.Check ed = True Then '''-->Code
Mailmsg.BodyFor mat = MailFormat.Html 'Send the mail in HTML Format
Else '''-->Code
Mailmsg.BodyFor mat = MailFormat.Text '''-->Code
End If '''-->Code

'If you want you can add a reply to header
'Mailmsg.Header s.Add("Reply-To", "Ma***@geinetec h.net")
'custom headersare added like this
'Mailmsg.Header s.Add("Manoj", "TestHeader ")

'Mail Subject
Mailmsg.Subject = txtSubject.Text '''-->Code

'Attach the files one by one
For Counter = 0 To lstAttachment.I tems.Count - 1 '''-->Code
Attachment = New MailAttachment( lstAttachment.I tems(Counter))
'Add it to the mail message
Mailmsg.Attachm ents.Add(Attach ment) '''-->Code
Next '''-->Code

'Mail Body
Mailmsg.Body = txtMessage.Text '''-->Code
'Call the send method to send the mail
obj.Send(Mailms g) '''-->Code

*************** *************** *************** *************** ***********
Send SMTP mail using VB.NET
By Chris Dufour

http://www.codeproject.com/vb/net/epsendmail.asp

Bye
Venkat_KL

For Anything and Everything, Please Let Me Know

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com

Dec 7 '05 #4
One more sample:

call the below procedure like this

SendMail("YES") ;

in a button click or any other event handler

'Dont forgrt to include the following namespace.
'using System.Web;
'using System.Web.Mail ;
Public Shared Sub SendMail(ByVal success As String)
Try
' Construct a new mail message
Dim message As MailMessage = New MailMessage()
message.From = "an*******@lank aequities.com"
message.To = "ve*******@hotm ail.com"
message.Cc = "ve*******@gmai l.com"
message.Subject = "Hello from C# Winforms Application"
message.Body = "The backup started at: " + DateTime.Now + "\r and
ended "
+ success + " at :" + DateTime.Today. ToLongDateStrin g() +
DateTime.Now
'if you want attach file with this mail, add the line below
'message.Attach ments.Add(new MailAttachment( "c:\\attach.txt ",
'MailEncoding.B ase64));

' Send the message
SmtpMail.Send(m essage)

Catch ex As Exception
System.Diagnost ics.EventLog.Wr iteEnTry("Backu pApplication"," Error
occured while sending the
mail",System.Di agnostics.Event LogEnTryType.Er ror)
System.Console. WriteLine(ex.Me ssage.ToString( ))
End Try

End Sub

For Anything and Everything, Please Let Me Know

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com
Dec 7 '05 #5
"Anuradha" <an*******@lank aequities.com> schrieb:
How can i send mails using vb.net


..NET 1.0/1.1: 'System.Web.Mai l'.
..NET 2.0: 'System.Net.Mai l'.

--
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://classicvb.org/petition/>
Dec 7 '05 #6
Dear All

I tried below method to send mails but when the mail sends it gives an error
saying

Error MSG

=============== =============== ======

An unhandled exception of type 'System.Web.Htt pException' occurred in
system.web.dll

Additional information: Could not access 'CDO.Message' object.

=============== =============== =======

How can I get up from this error?

Thx
Anuradha

"Venkat_KL" <ve*******@yaho o.com> wrote in message
news:ew******** ******@TK2MSFTN GP12.phx.gbl...
One more sample:

call the below procedure like this

SendMail("YES") ;

in a button click or any other event handler

'Dont forgrt to include the following namespace.
'using System.Web;
'using System.Web.Mail ;
Public Shared Sub SendMail(ByVal success As String)
Try
' Construct a new mail message
Dim message As MailMessage = New MailMessage()
message.From = "an*******@lank aequities.com"
message.To = "ve*******@hotm ail.com"
message.Cc = "ve*******@gmai l.com"
message.Subject = "Hello from C# Winforms Application"
message.Body = "The backup started at: " + DateTime.Now + "\r and
ended "
+ success + " at :" + DateTime.Today. ToLongDateStrin g() +
DateTime.Now
'if you want attach file with this mail, add the line below
'message.Attach ments.Add(new MailAttachment( "c:\\attach.txt ",
'MailEncoding.B ase64));

' Send the message
SmtpMail.Send(m essage)

Catch ex As Exception
System.Diagnost ics.EventLog.Wr iteEnTry("Backu pApplication"," Error
occured while sending the
mail",System.Di agnostics.Event LogEnTryType.Er ror)
System.Console. WriteLine(ex.Me ssage.ToString( ))
End Try

End Sub

For Anything and Everything, Please Let Me Know

--
Sent via .NET Newsgroups
http://www.dotnetnewsgroups.com

Dec 8 '05 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

10
4953
by: Stuart Mueller | last post by:
I have an exchange server, that I sometimes use to perform mail shots to clients on our database, these can be upwards of 1000 at a time. As we don't want different clients to see who we are working with we put these mailshots in the bcc field of the mails. This can sometimes cause a problem as we are getting alot of mails bounced back. I...
3
6252
by: martin smith | last post by:
Here's the scenario. I'm currently using cdosys/asp to send mail to our SMTP server. We use a product called MailFilter to check for SPAM. It doesn't work very well. If MailFilter isn't working cdosys also has problems and emails don't get sent. As these email are confirmations for customer's bookings this means lots of customers calling to...
1
1757
by: Jayakumar | last post by:
HI, I am using System.web.mail class in my application to send mails. I am using SMTP server for the same. I can send mail to the intranet addresses, But when i send mails to Hotmail or other domains the mails are not sent. What should i do for the sending mails to hotmail and other accounts. (But if i have send mails to hotmail from my...
7
3505
by: Lau | last post by:
I need to send 1000 emails from an asp.net website. Normally I would use System.Web.Mail.MailMessage() to send thru an SMTP server. But the large amount of emails results in a timeout. My server administrator told me to write the emails to the “pickup directory” instead. I know that JMail can do this in ASP, but how do you do this in...
5
1521
by: cashdeskmac | last post by:
I am writing a web application will will be hosted on a few peoples laptops as a local application. It will send e-mails once the user connects to the internet. How can I set up the "Mail.From" field if I don't know the address of the user's laptop? I have managed to get it working on my own machine, but setting the "From" filed to...
1
1628
by: Dirk Goossens | last post by:
Hello! I'm sending E-mails to mailadresses in a table, using the code below. How can I send more than one attachment? Access can find the file to be send in this field: MY_EMAILATTACHMENT_FIELD I have also a field with the name MY_EMAILATTACHMENT_FIELD2 Combining the field names with an &-sign doesn't work, even when I put a ; in between....
8
2836
by: Michel Posseth [MCP] | last post by:
Hi does someone has experience with this ?? i have made a lot of apps in the past that were capable of sending e-mails the server i then talked to was a Linux SMTP server and it worked great Now i work in a company with a MS exchange server and would like to send some e-mails however i can`t get it to work at all error is : (...
1
2145
by: gemma.gill | last post by:
Hi There, I have a button on a form within access that sends a verification e- mail. My problem is that these e-mails are sending from individual user accounts rather than a genieric mailbox. Is there a way to do this? We are using MS Outlook each user has an account set up that gives them a personal mailbox and access to another...
3
2370
by: dskinibbyb | last post by:
Hi Everybody, I am sending mail using the new class in .Net 2.0. Here while sending internal mails it is giving me problem. Carriage return, Line feed and Spaces are lost while sending mails. I am using msg.BodyEncoding = System.Text.UTF8Encoding.UTF8 to encode the body. But same code and same mail is going fine , when sent to external...
2
1377
by: srinivaspnv21 | last post by:
hi every one, plz help me out, i have to send mails from my asp.net page.... I have tried a code where mails are going only to gmail users the code is ... namespace: using System.Web.Mail; protected void btnSend_Click(object sender, EventArgs e) {
0
7704
marktang
by: marktang | last post by:
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
0
8139
jinu1996
by: jinu1996 | last post by:
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
1
7684
by: Hystou | last post by:
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7985
tracyyun
by: tracyyun | last post by:
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
5234
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3666
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3659
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
1230
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
959
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.