473,386 Members | 1,754 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Email Programming using System.Web.Mail

I have been able using the namespace System.Web.Mail and its method
Smtp.mail.send to mail simple text messages to a small group within
our 55 and older community. I need help expanding the programs
capabilities. Searching this forum I did not find any related
information so if I have chosen poorly, I would appreciate a
suggestion of a more appropriate dotnet forum.

Now what I wish is the ability to send bcc's rather than to: (would be
sending to all 250 residents and would have to send in groups of 50 as
required by Comcast to curtail spammers) and also wonder if this
namespace handles base64 encoding so that I can send a pdf attachment.
Appreciate,

Ed


Jan 16 '08 #1
11 3465
Well, the first step would be rather to check the doc rather than to find a
suitable group ;-)

Try :
http://msdn2.microsoft.com/en-us/lib...e_members.aspx
(you'll find BCC).

By browsing to attchments you'll see :
http://msdn2.microsoft.com/en-us/lib...t_members.aspx
for the Encoding property.

Note that this is 1.1 It is obsolete in 2.0 (see System.Net.Mail).

--
Patrice

"Ed Bitzer" <ed******@yahoo.coma écrit dans le message de news:
u0*************@TK2MSFTNGP06.phx.gbl...
>I have been able using the namespace System.Web.Mail and its method
Smtp.mail.send to mail simple text messages to a small group within
our 55 and older community. I need help expanding the programs
capabilities. Searching this forum I did not find any related
information so if I have chosen poorly, I would appreciate a
suggestion of a more appropriate dotnet forum.

Now what I wish is the ability to send bcc's rather than to: (would be
sending to all 250 residents and would have to send in groups of 50 as
required by Comcast to curtail spammers) and also wonder if this
namespace handles base64 encoding so that I can send a pdf attachment.
Appreciate,

Ed


Jan 16 '08 #2
On Jan 16, 12:19 pm, "Ed Bitzer" <edbit...@yahoo.comwrote:
I have been able using the namespace System.Web.Mail and its method
Smtp.mail.send to mail simple text messages to a small group within
our 55 and older community. I need help expanding the programs
capabilities. Searching this forum I did not find any related
information so if I have chosen poorly, I would appreciate a
suggestion of a more appropriate dotnet forum.

Now what I wish is the ability to send bcc's rather than to: (would be
sending to all 250 residents and would have to send in groups of 50 as
required by Comcast to curtail spammers) and also wonder if this
namespace handles base64 encoding so that I can send a pdf attachment.
Appreciate,

Ed
Though it might not help with encoding (not sure) two excellent sites
you need to check out are:

http://www.systemwebmail.com/

And

http://www.systemnetmail.com/

IMO if you are using 2.0 or higher you should be using System.Net.Mail

Thanks,

Seth Rowe [MVP]
Jan 16 '08 #3
Ed,

This is how I attach files to eMails sent via System.Net.Mail:
Private Sub AddAttachment(ByRef message As MailMessage, ByVal sFile As
String)
Dim attFile As Attachment
Dim disposition As ContentDisposition

attFile = New Attachment(sFile)
disposition = attFile.ContentDisposition
disposition.CreationDate = System.IO.File.GetCreationTime(sFile)
disposition.ModificationDate =
System.IO.File.GetLastWriteTime(sFile)
disposition.ReadDate = System.IO.File.GetLastAccessTime(sFile)
message.Attachments.Add(attFile)
End Sub

The MailMessage object does have a Bcc property, so you can add Bcc adresses
(don't know how many):
Dim adrBcc As MailAddress

adrBcc = New MailAddress("ad**@your.com")
message.Bcc.Add(adrBcc)

adrBcc = New MailAddress("ad**@your.com")
message.Bcc.Add(adrBcc)
...

Hope this helps,
Thomas
"Ed Bitzer" <ed******@yahoo.comschrieb im Newsbeitrag
news:u0*************@TK2MSFTNGP06.phx.gbl...
>I have been able using the namespace System.Web.Mail and its method
Smtp.mail.send to mail simple text messages to a small group within
our 55 and older community. I need help expanding the programs
capabilities. Searching this forum I did not find any related
information so if I have chosen poorly, I would appreciate a
suggestion of a more appropriate dotnet forum.

Now what I wish is the ability to send bcc's rather than to: (would be
sending to all 250 residents and would have to send in groups of 50 as
required by Comcast to curtail spammers) and also wonder if this
namespace handles base64 encoding so that I can send a pdf attachment.
Appreciate,

Ed



Jan 16 '08 #4
I should have emphasized:
I'm using System.Net.Mail instead of System.Web.Mail (NET 2.0)
The types I'm using (MailMessage, Attachment) are part of that namespace.

"Thomas Weise" <th****@data-download.deschrieb im Newsbeitrag
news:O2**************@TK2MSFTNGP06.phx.gbl...
Ed,

This is how I attach files to eMails sent via System.Net.Mail:
Private Sub AddAttachment(ByRef message As MailMessage, ByVal sFile As
String)
Dim attFile As Attachment
Dim disposition As ContentDisposition

attFile = New Attachment(sFile)
disposition = attFile.ContentDisposition
disposition.CreationDate = System.IO.File.GetCreationTime(sFile)
disposition.ModificationDate =
System.IO.File.GetLastWriteTime(sFile)
disposition.ReadDate = System.IO.File.GetLastAccessTime(sFile)
message.Attachments.Add(attFile)
End Sub

The MailMessage object does have a Bcc property, so you can add Bcc
adresses (don't know how many):
Dim adrBcc As MailAddress

adrBcc = New MailAddress("ad**@your.com")
message.Bcc.Add(adrBcc)

adrBcc = New MailAddress("ad**@your.com")
message.Bcc.Add(adrBcc)
...

Hope this helps,
Thomas
"Ed Bitzer" <ed******@yahoo.comschrieb im Newsbeitrag
news:u0*************@TK2MSFTNGP06.phx.gbl...
>>I have been able using the namespace System.Web.Mail and its method
Smtp.mail.send to mail simple text messages to a small group within
our 55 and older community. I need help expanding the programs
capabilities. Searching this forum I did not find any related
information so if I have chosen poorly, I would appreciate a
suggestion of a more appropriate dotnet forum.

Now what I wish is the ability to send bcc's rather than to: (would be
sending to all 250 residents and would have to send in groups of 50 as
required by Comcast to curtail spammers) and also wonder if this
namespace handles base64 encoding so that I can send a pdf attachment.
Appreciate,

Ed





Jan 16 '08 #5

"rowe_newsgroups" <ro********@yahoo.comwrote in message
news:d3**********************************@x69g2000 hsx.googlegroups.com...
On Jan 16, 12:19 pm, "Ed Bitzer" <edbit...@yahoo.comwrote:
>I have been able using the namespace System.Web.Mail and its method
Smtp.mail.send to mail simple text messages to a small group within
our 55 and older community. I need help expanding the programs
capabilities. Searching this forum I did not find any related
information so if I have chosen poorly, I would appreciate a
suggestion of a more appropriate dotnet forum.

Now what I wish is the ability to send bcc's rather than to: (would
be
sending to all 250 residents and would have to send in groups of 50
as
required by Comcast to curtail spammers) and also wonder if this
namespace handles base64 encoding so that I can send a pdf
attachment.
Appreciate,

Ed

Though it might not help with encoding (not sure) two excellent
sites
you need to check out are:

http://www.systemwebmail.com/

And

http://www.systemnetmail.com/

IMO if you are using 2.0 or higher you should be using
System.Net.Mail

Thanks,

Seth Rowe [MVP]

Seith and Patrice too,

I have waded my way through all the references gave and digested
sufficiently to create a prototype that sends an email To: somebody,
with Bcc's to several others and can handle one or more pdf
attachments encoded with Base64 - and it works<g>. Obviously you guys
gave me excellent directions. I do have one more questions and that
is how is this stuff getting to the recipients. I am sending from my
home. I am providing system.web.mail with no information about my
ISP. Does my program act as a Server and do its own thing looking up
the DNS information for each of the recipients ISP's? When I use
commercial software such as Thunderbird or OE I must spell out the
smtp servicer and provide a username and password.

Ed
Jan 16 '08 #6

"Thomas Weise" <th****@data-download.dewrote in message
news:e6**************@TK2MSFTNGP04.phx.gbl...
>I should have emphasized:
I'm using System.Net.Mail instead of System.Web.Mail (NET 2.0)
The types I'm using (MailMessage, Attachment) are part of that
namespace.
Thomas,

The syntax is quite different than my older version of VB.Net (203)
where I am using System.Net.Mail (but of course requires the same
information); however, I was successful as you may have noticed in the
note I just wrote to Seth and Patrice. I asked them how this was
getting out of my home computer because I know if we send to our 250
or so residence in this 55 and older community (and we are sending out
announcements daily) we must send them to less than 100 addresses per
connection. This is a limitation imposed by Comcast, our ISP, to
limit spam (I was going to say eliminate, but they certainly have not
figured out a solution there). If my mail program is being sent
through their server, I can easily fix the program so that it
connects, sends 100, disconnects, reconnects and sends another 100.
This is going to be a big time saver. Now I use to be the guy who
processed all the mail requests from our community but I recently
managed to pawn the job off on another retired guy. Maybe I can get a
free lunch out of this program<g>

Ed


Jan 16 '08 #7
I can understand the Comcast restriction, our group went thru this and
decided to simply buy into a service rather then coding and maintain it.
Sometimes using a service is better then spending time coding.

"Ed Bitzer" <ed******@yahoo.comwrote in message
news:u1**************@TK2MSFTNGP06.phx.gbl...
>
"Thomas Weise" <th****@data-download.dewrote in message
news:e6**************@TK2MSFTNGP04.phx.gbl...
>>I should have emphasized:
I'm using System.Net.Mail instead of System.Web.Mail (NET 2.0)
The types I'm using (MailMessage, Attachment) are part of that namespace.

Thomas,

The syntax is quite different than my older version of VB.Net (203) where
I am using System.Net.Mail (but of course requires the same information);
however, I was successful as you may have noticed in the note I just wrote
to Seth and Patrice. I asked them how this was getting out of my home
computer because I know if we send to our 250 or so residence in this 55
and older community (and we are sending out announcements daily) we must
send them to less than 100 addresses per connection. This is a limitation
imposed by Comcast, our ISP, to limit spam (I was going to say eliminate,
but they certainly have not figured out a solution there). If my mail
program is being sent through their server, I can easily fix the program
so that it connects, sends 100, disconnects, reconnects and sends another
100. This is going to be a big time saver. Now I use to be the guy who
processed all the mail requests from our community but I recently managed
to pawn the job off on another retired guy. Maybe I can get a free lunch
out of this program<g>

Ed


Jan 16 '08 #8


"Kevin S Gallagher" <ke***************@state.or.uswrote in message
news:uZ**************@TK2MSFTNGP06.phx.gbl...
>I can understand the Comcast restriction, our group went thru this
and decided to simply buy into a service rather then coding and
maintain it. Sometimes using a service is better then spending time
coding.

"Ed Bitzer" <ed******@yahoo.comwrote in message
news:u1**************@TK2MSFTNGP06.phx.gbl...
>>
"Thomas Weise" <th****@data-download.dewrote in message
news:e6**************@TK2MSFTNGP04.phx.gbl...
>>>I should have emphasized:
I'm using System.Net.Mail instead of System.Web.Mail (NET 2.0)
The types I'm using (MailMessage, Attachment) are part of that
namespace.

Thomas,

The syntax is quite different than my older version of VB.Net (203)
where I am using System.Net.Mail (but of course requires the same
information); however, I was successful as you may have noticed in
the note I just wrote to Seth and Patrice. I asked them how this
was getting out of my home computer because I know if we send to
our 250 or so residence in this 55 and older community (and we are
sending out announcements daily) we must send them to less than 100
addresses per connection. This is a limitation imposed by Comcast,
our ISP, to limit spam (I was going to say eliminate, but they
certainly have not figured out a solution there). If my mail
program is being sent through their server, I can easily fix the
program so that it connects, sends 100, disconnects, reconnects and
sends another 100. This is going to be a big time saver. Now I use
to be the guy who processed all the mail requests from our
community but I recently managed to pawn the job off on another
retired guy. Maybe I can get a free lunch out of this program<g>
>Ed

Kevin,

I am retired, this is my hobby and I already have the program working.
My question is outside the box of coding but how does my VB.Net
program actually send thee messages? I do not believe they are going
thru my Comcast SMTP account.

Ed
Jan 17 '08 #9
Time for everyone to get on the same page I think.

The first thing that you need to confirm is that you are, in fact, using an
instance of the System.Net.Mail.SmtpClient class to senn your emails.

If you're not then it's all back to square one.

If you are then it would be interesting to see how you instantiate the
instance.

'The book' says that if you do not supply a target 'host', either in the
constructor or by setting the Host property then the instance will use
whatever is specified in your application or machine configuration files.
(It will 'look' in the application configuration first but if that doesn't
specify the appropriate information then it will fall back to the machine
configuration file.) While it doesn't say so in so many words, it implies
that it doesn't 'look' anywhere else, therefore I would expect that, if you
don't specify it and it isn't specified in either of the configuration
files, an exception would be thrown when you call the Send method.

I have just confirmed this by using:

Dim _client As New SmtpClient

_client.Send(New MailMessage("fromaddress", "toaddress", "Test", "Test"))

It results in an InvalidOperationException with the message 'The SMTP host
was not specified.'.

The moment I specify a valid server then it works:

Dim _client As New SmtpClient("server")

_client.Send(New MailMessage("fromaddress", "toaddress", "Test", "Test"))

If you are definitely NOT specifying a 'host' in your code then that means
that you MUST have a 'host' specified in one or more of your config files.
All it is now, is a matter of you looking to see what it is. I know of no
automatic mechanism that will put such information in the configuration
files (but that doesn't mean such a mechanism doesn't exist).
The SmtpClient class is, as it's name suggests, a 'client' object and not a
'server' object. It will only connect to an 'up-line' SMTP server. If the
recipient's 'mailbox' is not directly served by that server then the message
will be relayed on to the appropriate server.
"Ed Bitzer" <ed******@yahoo.comwrote in message
news:ev**************@TK2MSFTNGP06.phx.gbl...
>
"rowe_newsgroups" <ro********@yahoo.comwrote in message
news:d3**********************************@x69g2000 hsx.googlegroups.com...
>On Jan 16, 12:19 pm, "Ed Bitzer" <edbit...@yahoo.comwrote:
>>I have been able using the namespace System.Web.Mail and its method
Smtp.mail.send to mail simple text messages to a small group within
our 55 and older community. I need help expanding the programs
capabilities. Searching this forum I did not find any related
information so if I have chosen poorly, I would appreciate a
suggestion of a more appropriate dotnet forum.

Now what I wish is the ability to send bcc's rather than to: (would be
sending to all 250 residents and would have to send in groups of 50 as
required by Comcast to curtail spammers) and also wonder if this
namespace handles base64 encoding so that I can send a pdf attachment.
Appreciate,

Ed

Though it might not help with encoding (not sure) two excellent sites
you need to check out are:

http://www.systemwebmail.com/

And

http://www.systemnetmail.com/

IMO if you are using 2.0 or higher you should be using System.Net.Mail

Thanks,

Seth Rowe [MVP]


Seith and Patrice too,

I have waded my way through all the references gave and digested
sufficiently to create a prototype that sends an email To: somebody, with
Bcc's to several others and can handle one or more pdf attachments encoded
with Base64 - and it works<g>. Obviously you guys gave me excellent
directions. I do have one more questions and that is how is this stuff
getting to the recipients. I am sending from my home. I am providing
system.web.mail with no information about my ISP. Does my program act as
a Server and do its own thing looking up the DNS information for each of
the recipients ISP's? When I use commercial software such as Thunderbird
or OE I must spell out the smtp servicer and provide a username and
password.

Ed

Jan 17 '08 #10

"Stephany Young" <noone@localhostwrote in message
news:eI**************@TK2MSFTNGP04.phx.gbl...
Time for everyone to get on the same page I think.

The first thing that you need to confirm is that you are, in fact,
using an instance of the System.Net.Mail.SmtpClient class to senn
your emails.

If you're not then it's all back to square one.

If you are then it would be interesting to see how you instantiate
the instance.

'The book' says that if you do not supply a target 'host', either in
the constructor or by setting the Host property then the instance
will use whatever is specified in your application or machine
configuration files. (It will 'look' in the application
configuration first but if that doesn't specify the appropriate
information then it will fall back to the machine configuration
file.) While it doesn't say so in so many words, it implies that it
doesn't 'look' anywhere else, therefore I would expect that, if you
don't specify it and it isn't specified in either of the
configuration files, an exception would be thrown when you call the
Send method.

I have just confirmed this by using:

Dim _client As New SmtpClient

_client.Send(New MailMessage("fromaddress", "toaddress", "Test",
"Test"))

It results in an InvalidOperationException with the message 'The
SMTP host was not specified.'.

The moment I specify a valid server then it works:

Dim _client As New SmtpClient("server")

_client.Send(New MailMessage("fromaddress", "toaddress", "Test",
"Test"))

If you are definitely NOT specifying a 'host' in your code then that
means that you MUST have a 'host' specified in one or more of your
config files. All it is now, is a matter of you looking to see what
it is. I know of no automatic mechanism that will put such
information in the configuration files (but that doesn't mean such a
mechanism doesn't exist).
The SmtpClient class is, as it's name suggests, a 'client' object
and not a 'server' object. It will only connect to an 'up-line' SMTP
server. If the recipient's 'mailbox' is not directly served by that
server then the message will be relayed on to the appropriate
server.
"Ed Bitzer" <ed******@yahoo.comwrote in message
news:ev**************@TK2MSFTNGP06.phx.gbl...
>>
"rowe_newsgroups" <ro********@yahoo.comwrote in message
news:d3**********************************@x69g200 0hsx.googlegroups.com...
>>On Jan 16, 12:19 pm, "Ed Bitzer" <edbit...@yahoo.comwrote:
I have been able using the namespace System.Web.Mail and its
method
Smtp.mail.send to mail simple text messages to a small group
within
our 55 and older community. I need help expanding the programs
capabilities. Searching this forum I did not find any related
information so if I have chosen poorly, I would appreciate a
suggestion of a more appropriate dotnet forum.

Now what I wish is the ability to send bcc's rather than to:
(would be
sending to all 250 residents and would have to send in groups of
50 as
required by Comcast to curtail spammers) and also wonder if this
namespace handles base64 encoding so that I can send a pdf
attachment.
Appreciate,

Ed

Though it might not help with encoding (not sure) two excellent
sites
you need to check out are:

http://www.systemwebmail.com/

And

http://www.systemnetmail.com/

IMO if you are using 2.0 or higher you should be using
System.Net.Mail

Thanks,

Seth Rowe [MVP]


Seith and Patrice too,

I have waded my way through all the references gave and digested
sufficiently to create a prototype that sends an email To:
somebody, with Bcc's to several others and can handle one or more
pdf attachments encoded with Base64 - and it works<g>. Obviously
you guys gave me excellent directions. I do have one more
questions and that is how is this stuff getting to the recipients.
I am sending from my home. I am providing system.web.mail with no
information about my ISP. Does my program act as a Server and do
its own thing looking up the DNS information for each of the
recipients ISP's? When I use commercial software such as
Thunderbird or OE I must spell out the smtp servicer and provide a
username and password.

Ed

Stephany,
I just want you and the others to know how much I appreciate your

efforts on my behalf. I need to digest your latest comments but first

I want all to know that I have a prototype working thanks to the
references given, especially the excellent summary of threads provided
at www.systemwebmail.com. (I am using Net 1.1 and

therefore System.Web.Mail) If I do not provide an SMTP server the
program works (my simple minded understanding is that VB.Net has a
basic SMTP code within but better yet I can specify my local ISP,
provide the username and password. If I understand correctly by this
is safer avoiding any reflection that my ISP is providing an open
relay.
Ed

Jan 17 '08 #11
With System.Web.Mail, (1.1), the book for the SmtpMail class says that if
you do not specify a value for SmtpServer then it uses the local SMTP
server.

If you are not explicitly specifying a value for SmtpServer then you MUST
some form of SMTP server running on the machine. You may not necessarily
realise that you have such a server running, but you would not be able to
send a message via the SmtpMail class without it.

To clarify a point, VB.Net does NOT have any form of SMTP within it and does
no 'magic' on your behalf. You must explicitly use the SMTP class(es)
provided by the .NET Framework, which are not actually part of Vb.Net per
se.
"Ed Bitzer" <ed******@yahoo.comwrote in message
news:Oq**************@TK2MSFTNGP04.phx.gbl...
>
"Stephany Young" <noone@localhostwrote in message
news:eI**************@TK2MSFTNGP04.phx.gbl...
>Time for everyone to get on the same page I think.

The first thing that you need to confirm is that you are, in fact,
using an instance of the System.Net.Mail.SmtpClient class to senn
your emails.

If you're not then it's all back to square one.

If you are then it would be interesting to see how you instantiate
the instance.

'The book' says that if you do not supply a target 'host', either in
the constructor or by setting the Host property then the instance
will use whatever is specified in your application or machine
configuration files. (It will 'look' in the application
configuration first but if that doesn't specify the appropriate
information then it will fall back to the machine configuration
file.) While it doesn't say so in so many words, it implies that it
doesn't 'look' anywhere else, therefore I would expect that, if you
don't specify it and it isn't specified in either of the
configuration files, an exception would be thrown when you call the
Send method.

I have just confirmed this by using:

Dim _client As New SmtpClient

_client.Send(New MailMessage("fromaddress", "toaddress", "Test",
"Test"))

It results in an InvalidOperationException with the message 'The
SMTP host was not specified.'.

The moment I specify a valid server then it works:

Dim _client As New SmtpClient("server")

_client.Send(New MailMessage("fromaddress", "toaddress", "Test",
"Test"))

If you are definitely NOT specifying a 'host' in your code then that
means that you MUST have a 'host' specified in one or more of your
config files. All it is now, is a matter of you looking to see what
it is. I know of no automatic mechanism that will put such
information in the configuration files (but that doesn't mean such a
mechanism doesn't exist).
The SmtpClient class is, as it's name suggests, a 'client' object
and not a 'server' object. It will only connect to an 'up-line' SMTP
server. If the recipient's 'mailbox' is not directly served by that
server then the message will be relayed on to the appropriate
server.
"Ed Bitzer" <ed******@yahoo.comwrote in message
news:ev**************@TK2MSFTNGP06.phx.gbl...
>>>
"rowe_newsgroups" <ro********@yahoo.comwrote in message
news:d3**********************************@x69g20 00hsx.googlegroups.com...
On Jan 16, 12:19 pm, "Ed Bitzer" <edbit...@yahoo.comwrote:
I have been able using the namespace System.Web.Mail and its
method
Smtp.mail.send to mail simple text messages to a small group
within
our 55 and older community. I need help expanding the programs
capabilities. Searching this forum I did not find any related
information so if I have chosen poorly, I would appreciate a
suggestion of a more appropriate dotnet forum.
>
Now what I wish is the ability to send bcc's rather than to:
(would be
sending to all 250 residents and would have to send in groups of
50 as
required by Comcast to curtail spammers) and also wonder if this
namespace handles base64 encoding so that I can send a pdf
attachment.
Appreciate,
>
Ed

Though it might not help with encoding (not sure) two excellent
sites
you need to check out are:

http://www.systemwebmail.com/

And

http://www.systemnetmail.com/

IMO if you are using 2.0 or higher you should be using
System.Net.Mail

Thanks,

Seth Rowe [MVP]
Seith and Patrice too,

I have waded my way through all the references gave and digested
sufficiently to create a prototype that sends an email To:
somebody, with Bcc's to several others and can handle one or more
pdf attachments encoded with Base64 - and it works<g>. Obviously
you guys gave me excellent directions. I do have one more
questions and that is how is this stuff getting to the recipients.
I am sending from my home. I am providing system.web.mail with no
information about my ISP. Does my program act as a Server and do
its own thing looking up the DNS information for each of the
recipients ISP's? When I use commercial software such as
Thunderbird or OE I must spell out the smtp servicer and provide a
username and password.

Ed


Stephany,
I just want you and the others to know how much I appreciate your

efforts on my behalf. I need to digest your latest comments but first

I want all to know that I have a prototype working thanks to the
references given, especially the excellent summary of threads provided
at www.systemwebmail.com. (I am using Net 1.1 and

therefore System.Web.Mail) If I do not provide an SMTP server the
program works (my simple minded understanding is that VB.Net has a
basic SMTP code within but better yet I can specify my local ISP,
provide the username and password. If I understand correctly by this
is safer avoiding any reflection that my ISP is providing an open
relay.
Ed


Jan 17 '08 #12

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

Similar topics

5
by: John | last post by:
Having a problem sending emails through vb.net. Our inhouse software automatically sends an email to the programming staff whenever an error is encountered. This code works just fine on machines...
11
by: tshad | last post by:
I have a W2003 server running my website and I am trying to set up my pages to send email using System.Web.Mail. I have pages running on this machine using CDONTS that work fine. I am using...
6
by: Eduardo Rosa | last post by:
Somebody knows how I queue email using .Net? thanks a lot
9
by: RitaK | last post by:
I'm new to windows programming using vb.net. I want to send a simple email from my app to register the software. What is the easiest way to do this without knowing what email program is on the...
1
by: oliu321 | last post by:
Hi, I am trying to write some codes to send emails through a SMTP server. I wrote a C++ version using pure socket programming and SMTP protocol, a VB version using CDO and a C# version using...
8
by: shapper | last post by:
Hello, I am trying to send an email using Asp.Net 2.0. I am getting the following error: System.Net.Mail.SmtpFailedRecipientException: Mailbox unavailable. The server response was: No such...
1
by: Wells Wang | last post by:
Hi, Everybody: Sorry to bother you. I am trying to use the code below to send an email with asp.net2.0& win XP. But it failed. On my laptop I can use outlook2003 to send email. If you are...
2
by: Allie | last post by:
Hi, all. I'm new to C# programming. I'm even newer to programming email capabilities into my code. What I need to do is create three (3) functions: * sendEmail, using a Mail object (which needs...
3
by: anu b | last post by:
Hii I am using System.net.mail for sending email... i need to send a webpage with its html content as my email body .....for that i used mail.Isbodyhtml as true...but it is not working for me...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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,...
0
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...

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.