Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / Languages / VB.NET / May 2008

Tip: Looking for answers? Try searching our database.

sending email

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marcin Wiszowaty - 12 May 2008 16:58 GMT
Hello all,

I am using the code below in on my own machine to send email and it works
just fine. VB console application.

When i tried to run the same program from one of our servers it doesnt.

There isnt even an error message generated.

A collegue told me that it is because this dll is using iis and it is
installed on my maching but not on the server.

Is this true    and if so how to do this without installing iis?

Thank you

Marcin

****************************************************

Dim client As New Net.Mail.SmtpClient("mail.finmedsys.com")

Dim msg As New Net.Mail.MailMessage("mis@finmedsys.com", _

"mwiszowaty@finmedsys.com", _

"Email test program", _

ex.tostring & vbNewLine & Date.Now.ToString)
kimiraikkonen - 12 May 2008 17:17 GMT
On May 12, 6:58 pm, "Marcin Wiszowaty" <mwiszow...@finmedsys.com>
wrote:
> Hello all,
>
[quoted text clipped - 25 lines]
>
> ex.tostring & vbNewLine & Date.Now.ToString)

Hi,
.NET framework must be installed on machine to send the mail from this
machine. Or if you expand the issue which does not work exactly, it'll
be more helpful.

Thanks,

Onur
rowe_newsgroups - 12 May 2008 19:57 GMT
On May 12, 11:58 am, "Marcin Wiszowaty" <mwiszow...@finmedsys.com>
wrote:
> Hello all,
>
[quoted text clipped - 25 lines]
>
> ex.tostring & vbNewLine & Date.Now.

So are you running any antivirus software on the server? McAfee loves
to kill System.Net.Mail....

Thanks,

Seth Rowe [MVP]
Marcin Wiszowaty - 13 May 2008 15:40 GMT
Im teribly sorry guys.
Mistake in code.

It works just fine.
Thank you for your efforts.

Marcin

Rate this thread:







Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.