Jcifs.smb.SmbException: NTLMv2 requires extended security
Hi,
I'm implemeting SSO for my application deployed in tomcat using JCIFS. It was working for some time and after more sessions like > 3 its throwing error like
jcifs.smb.SmbException: NTLMv2 requires extended security (jcifs.smb.client.useExtendedSecurity must be true if jcifs.smb.lmCompatibility >= 3)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)I'm using jcifs 1.3.7 and jdk 1.5. Also my web.xml is like
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE web-app
PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
"http://java.sun.com/dtd/web-app_2_3.dtd">
<web-app>
<display-name>Tomcat Documentation</display-name>
<filter>
<filter-name>NtlmHttpFilter</filter-name>
<filter-class>jcifs.http.NtlmHttpFilter</filter-class>
<init-param>
<param-name>jcifs.http.domainController</param-name>
<param-value>10.202.0.41</param-value>
</init-param>
<init-param>
<param-name>jcifs.smb.lmCompatibility</param-name>
<param-value>1</param-value>
</init-param>
<!--
<init-param>
<param-name>jcifs.smb.client.useExtendedSecurity</param-name>
<param-value>false</param-value>
</init-param>
-->
<init-param>
<param-name>jcifs.util.loglevel</param-name>
<param-value>3</param-value>
</init-param>
<!--
always needed for preauthentication / SMB signatures
-->
<init-param>
<param-name>jcifs.smb.client.domain</param-name>
<param-value>DOMAINAME</param-value>
</init-param>
<init-param>
<param-name>jcifs.smb.client.username</param-name>
<param-value>1233</param-value>
</init-param>
<init-param>
<param-name>jcifs.smb.client.password</param-name>
<param-value>P@ssw0rd1</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>NtlmHttpFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<description>
Tomcat Documentation.
</description>
<servlet>
<servlet-name>test1</servlet-name>
<servlet-class>TestServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>uploadexcel</servlet-name>
<servlet-class>TestUpload</servlet-class>
</servlet>
<servlet>
<servlet-name>testServlet</servlet-name>
<servlet-class>SampleTest</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>test1</servlet-name>
<url-pattern>/test</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>uploadexcel</servlet-name>
<url-pattern>/uploadexcel</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>testServlet</servlet-name>
<url-pattern>/testServlet</url-pattern>
</servlet-mapping>
<!-- <resource-ref>
<description>DB Connection</description>
<res-ref-name>jdbc/reports</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
</resource-ref>
-->
<error-page>
<exception-type>java.lang.NullPointerException</exception-type>
<location>/error.jsp</location>
</error-page>
</web-app>Please let me know whether any cofiguratio settings needs to be made
Regards,
Sukuimar
Hi,
Thanks for suggestion. After making it true i got below error.
note: NtlmPasswordAuthentication.java was java class obtanied with JIFS utility
jcifs.smb.SmbException
java.lang.NullPointerException
at jcifs.smb.NtlmPasswordAuthentication.nTOWFv1(NtlmPasswordAuthentication.java:197)
at jcifs.ntlmssp.Type3Message.<init>(Type3Message.java:177)
at jcifs.smb.NtlmContext.initSecContext(NtlmContext.java:75)
at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:347)
at jcifs.smb.SmbSession.send(SmbSession.java:235)
at jcifs.smb.SmbTree.treeConnect(SmbTree.java:161)
at jcifs.smb.SmbSession.logon(SmbSession.java:171)
at jcifs.smb.SmbSession.logon(SmbSession.java:164)
at jcifs.http.NtlmHttpFilter.negotiate(NtlmHttpFilter.java:189)
at jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:121)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:186)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:214)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:198)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:152)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:705)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:577)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:683)
at java.lang.Thread.run(Thread.java:595)
jcifs.smb.NtlmContext.initSecContext(NtlmContext.java:90)
jcifs.smb.SmbSession.sessionSetup(SmbSession.java:347)
jcifs.smb.SmbSession.send(SmbSession.java:235)
jcifs.smb.SmbTree.treeConnect(SmbTree.java:161)
jcifs.smb.SmbSession.logon(SmbSession.java:171)
jcifs.smb.SmbSession.logon(SmbSession.java:164)
jcifs.http.NtlmHttpFilter.negotiate(NtlmHttpFilter.java:189)
jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:121)Even i tried to change it to
<init-param>
<param-name>jcifs.smb.lmCompatibility</param-name>
<param-value>0</param-value>
</init-param>
<init-param>
<param-name>jcifs.smb.client.useExtendedSecurity</param-name>
<param-value>false</param-value>
</init-param>
But still its giving previous error. So, should i upgrade it to 1.3.8. Also am i hitting any bug in 1.3.7 please let me know
Regards,
Sukumar
Edited by: Sukumar-Java-Beginner on Mar 30, 2009 11:39 PM
Similar Messages
-
Jcifs.smb.SmbException: Unverifiable signature
I get an Unverifiable signature error several times, when i start the web application, then it starts to work. Any idea why this would happen?
am using oracle application server 9ias2 os 2000,ldpap server windows 2003
error message:
jcifs.smb.SmbException: Unverifiable signature: 0.0.0.0<00>/xxxxxxx
at jcifs.smb.SmbTransport.send(SmbTransport.java:640)
at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:178)
at jcifs.smb.SmbSession.send(SmbSession.java:138)
at jcifs.smb.SmbTree.treeConnect(SmbTree.java:134)
at jcifs.smb.SmbSession.logon(SmbSession.java:75)
at jcifs.http.NtlmHttpFilter.doFilter(NtlmHttpFilter.java:136)
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:519)
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:269)
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:735)
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].server.http.AJPRequestHandler.run(AJPRequestHandler.java:151)
at com.evermind[Oracle9iAS (9.0.2.0.0) Containers for J2EE].util.ThreadPoolThread.run(ThreadPoolThread.java:64)
my web.xml is very simple:
<filter>
<filter-name>NTLM HTTP Authentication Filter</filter-name>
<filter-class>jcifs.http.NtlmHttpFilter</filter-class>
<init-param>
<param-name>jcifs.http.domainController</param-name>
<param-value>domain ip</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>NTLM HTTP Authentication Filter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
thanksYou may have a look here -
http://osdir.com/ml/network.samba.java/2005-03/msg00032.html
Raise a case with support, if issue persists.
Regards,
Anuj
Edited by: Anuj Dwivedi, TCS on Aug 2, 2010 12:31 PM -
ConcurrentModificationException when using jcifs.smb.SmbSession.logon
We recently migrated our intranet from Apache to the WAS 640 environment (SP14). We are getting the following intermittent error when users initially navigate to the intranet:
[code]#1.5#00096B6B4AFD004700000064004E800C00040C4C8A3AD7CD#1139422783002#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#pcbp.com/PCBPOnline_APP#com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl#J2EE_GUEST#786####79cd709098cf11da81e400096b6b4afd#SAPEngine_Application_Thread[impl:3]_12##0#0#Error#1#/System/Server/WebRequests#Plain###Processing HTTP request to servlet [jsp] finished with error.
The error is: java.util.ConcurrentModificationException: null
Exception id: [00096B6B4AFD004700000062004E800C00040C4C8A3AD587]#
#1.5#00096B6B4AFD004700000065004E800C00040C4CA09ADC09#1139423158393#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#pcbp.com/PCBPOnline_APP#com.sap.engine.services.servlets_jsp.client.RequestInfoServer#J2EE_GUEST#786####598db69098d011daa8a700096b6b4afd#SAPEngine_Application_Thread[impl:3]_12##0#0#Error##Plain###Processing HTTP request to servlet [jsp] finished with error. The error is: java.util.ConcurrentModificationException
at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java(Inlined Compiled Code))
at java.util.LinkedList$ListItr.next(LinkedList.java(Compiled Code))
at jcifs.smb.SmbTransport.getSmbSession(SmbTransport.java(Compiled Code))
at jcifs.smb.SmbSession.logon(SmbSession.java(Compiled Code))
at jcifs.smb.SmbSession.logon(SmbSession.java(Inlined Compiled Code))
at com.pcbp.util.NTLMSecurity.doFilter(NTLMSecurity.java(Compiled Code))
at com.sap.engine.services.servlets_jsp.server.runtime.FilterChainImpl.doFilter(FilterChainImpl.java(Compiled Code))
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.runServlet(HttpHandlerImpl.java(Compiled Code))
at com.sap.engine.services.servlets_jsp.server.HttpHandlerImpl.handleRequest(HttpHandlerImpl.java(Compiled Code))
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Inlined Compiled Code))
at com.sap.engine.services.httpserver.server.RequestAnalizer.startServlet(RequestAnalizer.java(Compiled Code))
at com.sap.engine.services.httpserver.server.RequestAnalizer.invokeWebContainer(RequestAnalizer.java(Compiled Code))
at com.sap.engine.services.httpserver.server.RequestAnalizer.handle(RequestAnalizer.java(Compiled Code))
at com.sap.engine.services.httpserver.server.Client.handle(Client.java(Inlined Compiled Code))
at com.sap.engine.services.httpserver.server.Processor.request(Processor.java(Compiled Code))
at com.sap.engine.core.service630.context.cluster.session.ApplicationSessionMessageListener.process(ApplicationSessionMessageListener.java(Compiled Code))
at com.sap.engine.core.cluster.impl6.session.MessageRunner.run(MessageRunner.java(Compiled Code))
at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java(Compiled Code))
at java.security.AccessController.doPrivileged1(Native Method)
at java.security.AccessController.doPrivileged(AccessController.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java(Compiled Code))
at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java(Compiled Code))[/code]
If the user presses refresh or navigates to the url again, the problem disappears. It happens to one particular user every morning, the first time he tries to open the intranet. Other user's it only happens to every once in a while. Has anyone experienced this error before and if so, is there a fix for it?The error "jcifs.smb.SmbException: Connection refused: connect" is the root cause here, looks like for some reason your jcifs client can't connect to the server and that is causing the app server to show an 500 internal server error message.
Rob
Team JDev -
Hi All, I've searched Google, and I've also contacted Apple Support with no luck: I want to implement unicode with extended security on Windows Server 2008 Standard server shared folders so that Lion can connect normally (i.e. Finder->Go->Connect to Server->IP Address or server name) to SMB shares and access files. I'm lacking information; has anyone actually implemented unicode with extended security? If so, how?
Thanks in advance.
TomThanks for the reply aorlich. Do you mean enable file sharing on my Mac? With file sharing enabled, I still cannot get to my Windows 7 shares, although the files on my Mac do become available to Windows. Thanks again.
-
Kerberised CIFS / SMB Extended Security
Does anyone have any info when kerberised CIFS or SMB extended security is likely to be introduced into the S7000 series?
I had some info from a Sun Engineer that fixes relating to this would be coming in 2009.Q4 (which became 2010.Q1)
Example CR's related to this are:
6791642
6791165
6791210
Amongst others.
Does anyone know if this is on the radar for a future release of the 7000 series appliance kit?
AlanHi Alan
I just wondered if the lack of kerberised CIFS or SMB extended security is causing a problem I've been trying to get around.
We have a share set up on our 7310, to host MSI packages to be deployed via a Windows Server 2008 R2 group policy object, the packages are failing to install with errors pointing to permission problems. I've checked through the permissions and all seems well, with the computer account having full access to the share.
The packages deploy fine when they are hosted on a Windows based server, from what I've read this could be a kerberos authentication problem or some other missing feature from the CIFS implementation on the Sun. I can connect to the share on the Sun once logged onto the Windows computer and install the packages.
Thanks
Matthew -
Hello,
we have a Livelink Server database running with two replicas on two nodes as Always On Group, both instances running extended protection in "allowed" mode.
Our company security policy demands setting the extended protection to "required".
Are there any known problems with a "required Extended Protection" / "Always On" / "Livelink Server" combination?
Environment:
OS: Windows Server 2008 R2 Enterprise X64 SP1
DB: SQL Server 2012 (11.0.5556.0)
Thx & BR
AchimHi Achim,
According to my knowledge, there are no known problems with a "required Extended Protection" / "Always On" / "Livelink Server" combination.
Extended Protection helps to prevent an authentication relay attack by using service binding and channel binding. We need to note that when Extended Protection is set to
Required, only connections from protected applications on protected operating systems are accepted. This setting is the most secure but connections from operating systems or applications that do not support Extended Protection will not be able
to connect to SQL Server. For more details, please review the following article.
Connect to the Database Engine Using Extended Protection
https://msdn.microsoft.com/en-us/library/ff487261(v=sql.110).aspx
Thanks,
Lydia Zhang
If you have any feedback on our support, please click
here.
Lydia Zhang
TechNet Community Support -
when i go to a website that requires a security code be typed in, the web site appears but the security code to be typed in is blank, however it works fine with Internet Explorer
See:
* http://kb.mozillazine.org/Images_or_animations_do_not_load
* You can see the permissions for the domain in the current tab in Tools > Page Info > Permissions
* You can see image settings in Tools > Options > Content: Load Images
* You can see all exceptions in Tools > Options > Content: Load Images > Exceptions
* You can check the Tools > Page Info > Media tab for blocked images (scroll through all the images)
Some security software and extensions also can block images.
See:
* [[Troubleshooting extensions and themes]] -
try
MailMessage mail = new MailMessage();
SmtpClient SmtpServer = new SmtpClient("smtp.gmail.com");
mail.From = new MailAddress("[email protected]");
mail.To.Add("[email protected]");
mail.Subject = "Test Mail..!!!!";
mail.Body = "mail with attachment";
System.Net.Mail.Attachment attachment;
attachment = new System.Net.Mail.Attachment(@"C:\Attachment.txt");
mail.Attachments.Add(attachment);
SmtpServer.Port = 587;
SmtpServer.UseDefaultCredentials = true;
SmtpServer.Credentials = new System.Net.NetworkCredential("userid", "Password");
SmtpServer.EnableSsl = true;
SmtpServer.Send(mail);
Catch(Exception exception)
When i m run this part of code it throw an Ecxeption
Given Below is the Error..
The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.
Bikky Kumartry
MailMessage mail = new MailMessage();
SmtpClient SmtpServer = new SmtpClient("smtp.gmail.com");
mail.From = new MailAddress("[email protected]");
mail.To.Add("[email protected]");
mail.Subject = "Test Mail..!!!!";
mail.Body = "mail with attachment";
System.Net.Mail.Attachment attachment;
attachment = new System.Net.Mail.Attachment(@"C:\Attachment.txt");
mail.Attachments.Add(attachment);
SmtpServer.Port = 587;
SmtpServer.UseDefaultCredentials = true; ///Set it to false, or remove this line
SmtpServer.Credentials = new System.Net.NetworkCredential("userid", "Password");
SmtpServer.EnableSsl = true;
SmtpServer.Send(mail);
Catch(Exception exception)
Given Below is the Error.. The SMTP server requires a secure connection or the client was not authenticated. The server response was: 5.5.1 Authentication Required.
Solution:
The error might occur due to following cases.
case 1: when the password is wrong
case 2: when you try to login from some App
case 3: when you try to login from the domain other than your time zone/domain/computer (This
is the case in most of scenarios when sending mail from code)
There is a solution for each
solution for case 1: Enter the correct password.
Recomended: solution for case 2: go to
security settings at the following link https://www.google.com/settings/security/lesssecureapps and
enable less secure apps . So that you will be able to login from all apps.
solution 1 for case 3: (This might be helpful) you need to review the activity. but reviewing the activity will not be helpful due to latest security
standards the link will not be useful. So try the below case.
solution 2 for case 3: If you have hosted your code somewhere on production server and if you have access to the production server, than take remote
desktop connection to the production server and try to login once from the browser of the production server. This will add exception for login to google and you will be allowed to login from code.
But what if you don't have access to the production server. try
the solution 3
solution 3 for case 3: You have to enable
login from other timezone / ip for your google account.
to do this follow the link https://g.co/allowaccess and
allow access by clicking the continue button.
And that's it. Here you go. Now you will be able to login from any of the computer and by any means of app to your google account.
Regards,
Nabeel Arif -
What is this ? com.apple.audio.DriverHelper[162]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IGAccelVideoContextMain.
What is this ? com.apple.audio.DriverHelper[162]: The plug-in named AirPlay.driver requires extending the sandbox for the IOKit user-client class IGAccelVideoContextMain.
-
UPnP Extended Security? Please Help.
Hello i was recently trying to complete this turorial:
http://www.youtube.com/watch?v=o9vJedWSyw8
as my internet is bad on black ops 2, (strict) and my Bt does not allow me to port forward properly :/
I have tried it but i got a error, so i got in touch with the author of the video and recieved this message,
"from the looks of it you are setting up the right ports, but your router isnt allowing you to forward them. This will most likely be caused by a security setting on your router. There should be some option on the games and application sharing page, that disables extended security. That should fiix the problem if you can find it."
So how can i disable this UPnP Extended Security, or Extended Security?
I have a Bt Home Hub 2.
Thanks,Elhadi wrote:
I know how to turn it off, im trying to disable something called extended security so it lets me use portmapper
On the Home Hub 3 B you get the following screen (distorted by cut and paste) on the Port Forwarding , UPnP tab
The Home Hub 2 may not have this facility.
Wireless Broadband Home Network Port Forwarding System Basic Settings
Configuration Supported Applications UPnP DMZ Firewall
UPnP
Universal Plug and Play (UPnP) enables a wide range of applications, such as games and messaging, and devices to connect to each other and work together.
UPnP: On
Off
Extended UPnP Security: On
Off
Apply Cancel
It is recommended to keep the Extended UPnP security enabled to ensure the security of your home network. -
My college text is on my college website. When I try to download it this is what I get:
"This document requires global security policy to be disabled.
Please go to Edit > Preferences > JavaScript and uncheck the "Enable global object security policy" checkbox. NOTE: In some versions of Adobe Reader you may need to enable JavaScript first.
Message code: 005"
Helpmatermax wrote:
Please go to Edit > Preferences > JavaScript and uncheck the "Enable global object security policy" checkbox. NOTE: In some versions of Adobe Reader you may need to enable JavaScript first.
And - did you? -
Just after a bit of advice on security...
If I build a form in LiveCycle, am I able to extend security priviliges in Acrobat to allow users of the free Reader software to password protect the form?
Or can I set the form up so that when the user comletes and saves it, it automatically password protects it?
The second option is my preferred choice, just not sure if either are possible.
Any help is much appreciated.
Thanks,
ChrisThank you for your reply.
In that case I'll expand on what we want to achieve and hopefully someone can propose a solution.
We send our clients some forms which they complete, lock/flatten and then send back to us. We now need to ask our clients to enter their bank details onto the form. We want to make this as secure as possible and asking the client to email us back using an encrypted email isn't really viable, hence we wanted the form to password protect itself on completion/saving.
Is there anything else we could put in place to make this work?
Thanks again -
i want to cancel my visa card on itunes but the problem is they required the security number and i broke my visa card
Need to put SIM card, active or inactive, to activate the phone.
If locked, it must be from the carrier and if unlocked any SIM will do. -
The SMTP server requires a secure connection or the client was not authenticated. -.
Hello
I wrote this code. I searched but could not find a solution for my problem.
private void button_sendemail_Click(object sender, EventArgs e)
string temp = "mygmailpassword";
System.Security.SecureString password = new System.Security.SecureString();
temp.ToCharArray().ToList().ForEach(p => password.AppendChar(p));
string mailfrom = "…@gmail.com";
string mailto = "…@yahoo.com";
string subject = "Hello";
string body = "Hello, I'm just writing this to say Hi!";
using (MailMessage mail = new MailMessage())
mail.From = new MailAddress(mailfrom);
mail.To.Add(mailto);
mail.Subject = subject;
mail.Body = body;
mail.IsBodyHtml = true;
// Can set to false, if you are sending pure text.
using (SmtpClient smtp = new SmtpClient("smtp.gmail.com", 587))
smtp.UseDefaultCredentials = false;
smtp.DeliveryMethod = SmtpDeliveryMethod.Network;
smtp.Credentials = new NetworkCredential(mailfrom, password);
smtp.EnableSsl = true;
smtp.Send(mail);Hi ARZARE,
After some research and i have tested your code, it works fine on my side. But i used Hotmail
using (SmtpClient smtp = new SmtpClient("smtp.live.com", 587))
Per my understanding, you're trying to send from an @gmail.com address and they will require authentication, but you don't have credentials specified. Try sending from @hotmail.com or change smtp.EnableSsl
= false to see what happens.
Best regards,
Kristin
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey. -
Is it possible to require a security password to be entered only one time for each instance of a pdf
How I imagine it to work:
I receive a secured pdf; I open it and enter the password. I am able to open the pdf again without password restrictions. If I copy the pdf I am required to enter a password the copyPasswords are set when the document is created in Acrobat, and as far as I know they MUST be applied each and every time the document is opened. In other words, it doesn't and can't use cookies to remember that you've already entered it, because there are none in the OS.
Maybe you are looking for
-
I'm learning JavaFX 2 and I'm having problems loading images. It's seems to be a very stupid thing, but I don't know why loading doesn't work. GridPane grid = new GridPane(); Image image = new Image("ok.png"); System.out.println(image.isError()); Ima
-
Inserting a blob in the table through java or Oracle ApplicationFramework
I am new to Oracle framework. I have a requirement to insert one file(i.e blob) into the database from custom location.(ie.D:\sample.txt). through java or OAF. But i am unable to insert the file. Is there any specific function to insert blob fields i
-
Hacking conky's own_window_type desktop to run on one virtual desktop
Since I have no dual screen setup (just a laptop) I'd like to use my virtual desktops to run different conky instances on (almost) every virtual desktop. I tried to accomplish this by using own_window_type normal in conky, and that works - until I ca
-
How can I put asterisk in the beginning and end of a search parameter..?
Hi! I'm developing a program for a user where he wants a search parameter for the description about some purchase orders.... The problem is if the user want to make a search for any word he need to put asterisk in the beginning and end of the wo
-
Document on XML support in Oracle 8i
Hi. I am looking for a brief document about Oracle 8i's support of XML. I am aware of the whole book on XML under Online Documentation, but want a more concise one. Could anyone help? Regards, Rahul