|
by: Nick Z. |
last post by:
I am trying to connect to my SMTP server using the SmtpClient class.
For some reason its refusing to work. Here is the code and the error I get.
-----------------------------------------------------------
The code (I changed the server, user, and pass for obvious reasons):
SmtpClient client = new SmtpClient("mail.server.com");
client.Credentials = new NetworkCredential("user", "pass");
|
by: nitramsen |
last post by:
Hi,
I have been using SmtpClient but it seams that it is pretty hard on the SMTP
servers it is sending to as it does not send a QUIT command and just closes
the socket while the server is wait for more data.
Can someone confirm that the SmtpClient does not send QUIT as required by
RFC2821 section 4.1.1.10?
Is there a workaround to get SmtpClient to send out QUIT?
|
by: hazz |
last post by:
smtpClient.Send(message)
is causing me problems as per specifics in the trace below. Email is sent
but not without this error typically upon sending the second email, but
sometimes when running the app, even the first time. The application will
be required to be sending out repeated emails, about one every second or
two.
Must this be done asynchronously? Thank you. -Greg
I get the generic error messages;
|
by: clevrmnkey |
last post by:
I've had nothing but trouble from the System.Net.Mail objects, but I
finally need to make them work, and I can't for the life of me see what
I'm doing wrong.
I pared back my mail transaction to the bare minimum:
System.Net.Mail.SmtpClient smtp = new System.Net.Mail.SmtpClient("<my
mail server IP>", 25);
smtp.Send("<one of my email addresses>", "<another of my email
addresses>", "Hello", "World");
|
by: =?Utf-8?B?bW9tbw==?= |
last post by:
Hello,
I've been having a prlbem sending an email using ASP.net 2.0 I can send an
email if “To” address is hotmail, gmail or yahoo but not other addresses.
Does anyone know how I can resolve this problem?
Thank you very much in advance,
Chieko
|
|
by: Guy |
last post by:
I use the following code send mail in my C# application. It works, but
it does not send mail immediatly. If I quit my application, then the
mail gets send. I can see Norton scan my mail ..etc. What do I need to
do so that tye mail gets send right away, before I quit my program ?
Thanks.
SmtpClient smtp = new SmtpClient();
smtp.Host = "relais.videotron.ca";
smtp.Send("guy.harel@xxx.com", "guy.harel@yyy.com", "subject", "body");
|
by: =?Utf-8?B?VG9yc3Rlbg==?= |
last post by:
Hi,
I have a problem sending mails with the SmtpClient class. It's strange -
after I boot the pc and start the program I can send mails many times. After
I close the program and start it again it sometimes works too, but often does
not. If it does not, he will never - until the next reboot. Then the "game"
starts again.
I get the exception "'No connection could be made because the target machine
actively refused it.". Telnet to port 25...
|
by: Afshar |
last post by:
Dear Friends,
I want to send email but don't wanna use SmtpClient class, because I
want more control on generated mail. Is there any good alternative?
Thanks In Advance
|
by: btcoder |
last post by:
Hi, my jsp page uses sun.net.smtp.SmtpClient to send email. It worked fine until the hosted location was moved to another server. Now it generates the sun.net.smtp.SmtpProtocolException and the hosting company can't find what's wrong with it so I'm here hoping somebody can help.
The hosting company tried sending email from the server and it was okay and found no restrictions that prevents my page to access the smtp server.
What could cause...
|
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 synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
|
|
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 most users, this new feature is actually very convenient. If you want to control the update process,...
|
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
by: agi2029 |
last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development projectplanning, coding, testing, and deploymentwithout human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
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 instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...
|