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.SmtpCl ient("mail.finm edsys.com")
Dim msg As New Net.Mail.MailMe ssage("mi*@finm edsys.com", _
"mw********@fin medsys.com", _
"Email test program", _
ex.tostring & vbNewLine & Date.Now.ToStri ng) 3 919
On May 12, 6:58 pm, "Marcin Wiszowaty" <mwiszow...@fin medsys.com>
wrote:
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.SmtpCl ient("mail.finm edsys.com")
Dim msg As New Net.Mail.MailMe ssage("m...@fin medsys.com", _
"mwiszow...@fin medsys.com", _
"Email test program", _
ex.tostring & vbNewLine & Date.Now.ToStri ng)
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
On May 12, 11:58 am, "Marcin Wiszowaty" <mwiszow...@fin medsys.com>
wrote:
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.SmtpCl ient("mail.finm edsys.com")
Dim msg As New Net.Mail.MailMe ssage("m...@fin medsys.com", _
"mwiszow...@fin medsys.com", _
"Email test program", _
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]
Im teribly sorry guys.
Mistake in code.
It works just fine.
Thank you for your efforts.
Marcin This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Paul Lamonby |
last post by:
Hi,
I am sending a file from the server as an email attachment. The file
is being attached no problem and sending the email, but I get an error
when I try to open it saying it is corrupt. Obviuosly, the file is
fine on the server, so the attachment code I am using must be
corrupting it, but I dont know what it is:
// send email with...
|
by: praba kar |
last post by:
Dear All,
I have doubt regarding mail sending smtplib
module. The below code is I used to send a mail.
##########################################
import email.Message
import email.Utils
import mimetypes
import os,string
|
by: VB Programmer |
last post by:
I have an ASPX page where I send out emails through my mail server
mail.MyDomain.com. When I send emails to MyName@MyDomain.com it sends
PERFECTLY. When I try sending an email to any other address
(non-MyDomain.com address) I get the following error:
The server rejected one or more recipient addresses. The server response
was: 550 You must...
|
by: Ant |
last post by:
Hi, I'm using the MailMessage & smtpMail classes in System.Web.Mail to send
mail, however it's not sending any emails.
I'm using it on a Windows 2003 server.
The simplest way to use this is
smtpMail.Send("from@here.com", to@there.com, "Message subject", "Message
Body")
I'm sending it to my own email address on a different server using...
|
by: Eric Sheu |
last post by:
Greetings,
I have been searching the web like mad for a solution to my SMTP problem. I
am using Windows Server 2003 and ASP.NET 2.0 w/ C# to send out e-mails from a
web site I have created to the members of my organization. I think my problem
is incorrectly setting the settings on my server or an authentication
problem. Here is the code I...
| |
by: =?Utf-8?B?QWRl?= |
last post by:
HI All,
I am encountering the following error when I try to send an email through a
SMTP server. I believe the problem lies with the authentication part when the
network crednetials are used, error is thrown at the .send point.
Error is:
The following error occured Sending an email: System.ApplicationException:
An error occurred sending...
|
by: JoeP |
last post by:
Hi All,
How can I find the reason for such an error: Failure sending mail.
Some Code...
oMailMessage.IsBodyHtml = False
oMailMessage.Body = cEmailBody
Dim oSMTP As New SmtpClient
oSMTP.Send(oMailMessage) (in this line I am getting the above err)
|
by: bleachie |
last post by:
Hey,
I just need some help, my form seems to not send me all of the 'guestNames' and 'guestEmails' forms.
i use this function to add more guestnames and guestemail fields based on the number of guests added.
form.php
function createGuestNameAndEmailElements()
{
|
by: Markgoldin |
last post by:
I am sending an XML data from not dontnet process to a .Net via socket
listener.
Here is a data sample:
<VFPData>
<serverdata>
<coderun>updateFloor</coderun>
<area>MD2</area>
<zone>BOXING</zone>
<status>Running</status>
<job>1000139233</job>
|
by: happyse27 |
last post by:
Hi All,
I am trying for weeks how to send email from windows pc, which from my gmail account to my hotmail account. Using net::smtp module sending email failed,Kindly assist. (for the item d it is working for normal email servers, but NOT with gmail server, I am very puzzled still!!)
Codes(item c below) It keeps complaining and logs and...
|
by: Hystou |
last post by:
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language...
| |
by: Oralloy |
last post by:
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it. ...
|
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...
|
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...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes...
|
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...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
by: 6302768590 |
last post by:
Hai team
i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
|
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...
| |