473,698 Members | 2,337 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

SMTP Invalid Server Certificate

Hi everybody, hope someone can help me.
I have to send an authenticated mail message throught an ssl smtp
server using .net 1.1 framework libraries. The problem is that server
certificate is not valid, so when my app tries to connect, connection
fails and an httpexception is thrown. Obviously, I cannot change server
certificate. I set up outlook and when it logs on the server, it asks
me if I want to accept server certificate. Answering yes, I'm able to
send mail messages.

Does anyone knows how can I do the same thing with my app? Is there a
way to bypass server certificate validation?

Jul 14 '06 #1
0 1172

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

Similar topics

6
2236
by: klynn | last post by:
I cant get an email out using System.Web.Mail.SmtpMail.Send(msg) If I enter a SmtpMail.SmtpServer, then I get the error, "The server rejected the sender address. Invalid Address" If I dont enter one, I don't get a .NET error, but my mail ends up in the mailroot\Drop folder with a "DNS Failure". Also, should the SmtpServer name be the DNS (ie., mycomputer.def.com) or just the name of the computer/SMTP (ie., mycomputer)?
17
517
by: Jesper Nielsen | last post by:
Hi all! I am currently planning an e-mail service. The base core of the service will simply be a MDaemon mail server with a modified WorldClient as the frontend. Unfortuneately, MDaemon cannot add a footer to all outgoing mails (like "Get a FREE 10GB mail account at..."), so I've thought of this: MDaemon can be setup to use a so-called smarthost. If setup, MDaemon will forward all outgoing mail to another SMTP server, which will then...
1
17890
by: Gabe Garza | last post by:
In the following code snippet: Microsoft.Web.Services.Security.Signature sig; try { sig = new Signature(x509Token); } catch(Exception ex) { txtStatus.Text = ex.Message + "-" + x509Token.Certificate.GetName(); }
4
2056
by: jens Jensen | last post by:
Hello, I was given the task to build a .Net client that will talk to IBM integration server via HTTP post. The idea is that each http packet exchange should be authenticated via X09 "client authentication and not "server authentification" The code i wrote is quite straight forward. (See listing below) With server authentication, the server's application will contain a certificate created specifically for that server. The client...
0
5691
by: jens Jensen | last post by:
Hello, I'm trying to connect to a system via https. As an additional security measure, the server requires me to attach an x509 certs to my "HTTP POST" request. I get the error described in the subject.
1
2977
by: romiko2000 | last post by:
Hi Folks, I got a weird problem, I create an XMLWriter to post a document via the webrequest stream and after running a network trace, I notice the data is prefixed with 3 invalid characters! The invalid characters are: ef bb bf, at the top of the stream, which are . Why is this occuring, I am totally baffled by this? Here is the stream:
0
1144
by: Rob R. Ainscough | last post by:
Does ANYONE have a clue on how to setup .NET 2.0 EMail capabilities. I got it working locally (dev environment) using authentication, but as soon as I deploy my web app, I start getting SMTP relay errors whenever I send EMail. What do I need to get SMTP EMail to work with .NET 2.0 framework? I've been told that I have to Reverse DNS the web server?? That sounds wrong to me and I'm not sure if that will impact my SSL certificate. ...
2
6734
by: Ronald Raygun | last post by:
I am calling the mail() function in a PHP script and I get the ff error: Warning: mail() : SMTP server response: 501 5.5.4 Invalid Address in C:\test\test.php on line 394 Relevant Info: OS: Win2k Web Server Apache: v2.2.8
3
3167
by: mzarlenga | last post by:
I have a WCF .NET 3.0 self-hosted service and client. Both client and server are on the same system. My service opens a secure endpoint and is configured to demand a client-side certificate: BasicHttpBinding binding = new BasicHttpBinding(); binding.Security.Mode = BasicHttpSecurityMode.Transport; binding.Security.Transport.ClientCredentialType = HttpClientCredentialType.Certificate;
0
8676
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 usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8608
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,...
0
9029
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 captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
8867
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 choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7732
agi2029
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 project—planning, coding, testing, and deployment—without 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...
1
6522
isladogs
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...
0
4619
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3050
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
3
2006
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 effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.