Hi,
I'm trying to use gmail smtp server for an asp.net application, but when I
try to send an email I get this error:
"The remote certificate is invalid according to the validation procedure."
Of course, I have enabled ssl (enableSSL = true) and inserted the network
credentials for my account... but it still doesn't work.
How come does it happen?
How can I solve it?
I am using ASP.Net 2.0 and Google Apps.
Thanks in advance,
--
Carmine
Webmaster di www.thetotalsite.it
Blog http://blog.thetotalsite.it 3 5182
Go here;
http://sholliday.space s.live.com/Blog/cns!A68482B9628 A842A!138.entry
get the downloadable code.
(You can download the code HERE. (Right-Click and "Save As" works best)
(<<key phrase to search for)
I have gmail specific code and setup there.
...
There is a 1.1 and 2.0 version.
"Carmine [www.thetotalsit e.it]" <pi*******@gmai l.comwrote in message
news:8F******** *************** ***********@mic rosoft.com...
Hi,
I'm trying to use gmail smtp server for an asp.net application, but when I
try to send an email I get this error:
"The remote certificate is invalid according to the validation procedure."
Of course, I have enabled ssl (enableSSL = true) and inserted the network
credentials for my account... but it still doesn't work.
How come does it happen?
How can I solve it?
I am using ASP.Net 2.0 and Google Apps.
Thanks in advance,
--
Carmine
Webmaster di www.thetotalsite.it
Blog http://blog.thetotalsite.it
I tried, but it still doesn't work :-(
As the article explains, I have set the port to 587 or 465, but now I get
this error:
A connection attempt failed because the connected party did not properly
respond after a period of time, or established connection failed because
connected host has failed to respond
....Why?
Bye,
--
Carmine
Webmaster di www.thetotalsite.it
Blog http://blog.thetotalsite.it
Firewall or port block?
Something is stopping you.
Can you setup outlook/express to just test it?
"Carmine [www.thetotalsit e.it]" <pi*******@gmai l.comwrote in message
news:9A******** *************** ***********@mic rosoft.com...
>I tried, but it still doesn't work :-(
As the article explains, I have set the port to 587 or 465, but now I get
this error:
A connection attempt failed because the connected party did not properly
respond after a period of time, or established connection failed because
connected host has failed to respond
...Why?
Bye,
--
Carmine
Webmaster di www.thetotalsite.it
Blog http://blog.thetotalsite.it This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: Ashutosh Bhalerao |
last post by:
Hi all,
I am trying to write a VB.Net application which communicates over SSL
with an IIS server. I have got a temporary certificate from Verisign
and installed it on IIS.
I am using HttpWebRequest to send the request across. I get an
exception "Could not establish trust relationship with remote server."
Can anyone guide me as how I can complete this request and get a
response? Do I need to do something to accept all certificates...
|
by: Grasshopper |
last post by:
Hi,
I am automating Access reports to PDF using PDF Writer 6.0. I've
created a DTS package to run the reports and schedule a job to run this
DTS package. If I PC Anywhere into the server on where the job is
running, the job runs sucessfully, PDF files got generated, everything
is good. If I scheduled the job to run at the time that I am not
logged into the server, Access is not able to print to the printer.
The error is pretty...
|
by: Nelson R. |
last post by:
Hi,
i need to get some info from a website page that requires an
certificate.
Ive got the provided certificate installed in IE, and when accessing
the website page, it shows a window to select the client certificate
and then shows the page correctly.
Im trying to do this by code (vs2003 C# aspnet), using webrequest.
|
by: Kenny Ho |
last post by:
Hi,
I have written the following schema that contains the XML signature:
-----------------------------------------------------------------------
<?xml version="1.0" encoding="utf-8" ?>
<xs:schema targetNamespace="http://mycompany/integrity/v1.0"
elementFormDefault="qualified"
xmlns="http://mycompany/integrity/v1.0"
xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
by: HKSHK |
last post by:
This list compares the error codes used in VB.NET 2003 with those used
in VB6.
Error Codes:
============
3: This Error number is obsolete and no longer used. (Formerly:
Return without GoSub)
5: Procedure call or argument is not valid.
6: Overflow.
7: Out of memory.
| |
by: Mark Parter |
last post by:
I'm trying convert an XML Schema
(http://www.elframework.org/projects/xcri/efc_r1.0.xsd/view) to a VB.Net
class using the XSD tool provided with the .NET 2 SDK. However, it's failing
to generate the class and is outputting the following error(s);
Schema validation warning: Undefined complexType
'http://purl.org/dc/elements/1.1/:SimpleLiteral' is used as a base for
complex type extension. Line 433, position 5.
Schema validation warning:...
|
by: BillE |
last post by:
VS2005 VB.net
I'm using the HTTPWebRequest class to connect to a web site with SSL. I
first manually connected to the site and installed the certificate on my
computer, and then use the X509Certificate class to add the certificate to
the HTTPWebRequest, but I continue to get the exception:
"The underlying connection was closed: Could not establish trust
relationship for the SSL/TLS secure channel."
|
by: Pedro Vera |
last post by:
I am helping somebody setup one of the asp.net starter kits. I
converted it from sql express to sql server with no real issues, and I
got it running local perfectly.
On my first attempt to run it remotely I noticed that a lot of the
queries had dbo. hardcoded and that SQL server on the remote server
was not allowing my sql account access to these. I removed all
mentions of dbo. and again it still runs local. I have posted it to
the...
|
by: =?Utf-8?B?RG9taW5v?= |
last post by:
Greetings all,
I'm trying to send an e-mail from a Windows application thru MS Exchange
Server 2007 that is in my LAN. The setup for Exchange server is very basic,
it's running on Server 2003 R2 x64 machine. Here is the code I'm trying to
use to send the email:
Public Sub SendMail()
Dim strTo As String = frmMain.txtTo.Text
Dim strFrom As String = frmMain.txtFrom.Text
|
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...
|
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: 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...
|
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: 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: TSSRALBI |
last post by:
Hello
I'm a network technician in training and I need your help.
I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs.
The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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...
| |