Email via an SMTP server which needs authentication
JSC bundles codes for emailing via an SMTP server which does not need authentication. But, can I get codes for emailing via an SMTP server which needs authentication?
Thank you very much.
I'd recommend the following free, open source library
from Apache. It's powerful and simple to use.
http://jakarta.apache.org/commons/email/
I get the following exception when I use Apache commons. This occurs in both circumstances when SMTP authentication is needed or not.
java.security.AccessControlException: access denied (java.util.PropertyPermission * read,write)
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:264)
at java.security.AccessController.checkPermission(AccessController.java:427)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
at java.lang.SecurityManager.checkPropertiesAccess(SecurityManager.java:1252)
at java.lang.System.getProperties(System.java:560)
at org.apache.commons.mail.Email.getMailSession(Email.java:355)
at org.apache.commons.mail.Email.buildMimeMessage(Email.java:748)
at org.apache.commons.mail.Email.send(Email.java:897)
at manamakal.test.ApacheEmailTest.button1_action(ApacheEmailTest.java:234)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126)
at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
at com.sun.rave.web.ui.appbase.faces.ActionListenerImpl.processAction(ActionListenerImpl.java:57)
at javax.faces.component.UICommand.broadcast(UICommand.java:312)
at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:267)
at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:381)
at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:75)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:221)
at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:90)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:197)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.apache.catalina.security.SecurityUtil$1.run(SecurityUtil.java:249)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.Subject.doAsPrivileged(Subject.java:517)
at org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:282)
at org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:165)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:257)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:210)
at org.apache.catalina.core.ApplicationFilterChain.access$000(ApplicationFilterChain.java:55)
at org.apache.catalina.core.ApplicationFilterChain$1.run(ApplicationFilterChain.java:161)
at java.security.AccessController.doPrivileged(Native Method)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:157)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:263)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:225)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:173)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:170)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:132)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:551)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:933)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:189)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.doProcess(ProcessorTask.java:604)
at com.sun.enterprise.web.connector.grizzly.ProcessorTask.process(ProcessorTask.java:475)
at com.sun.enterprise.web.connector.grizzly.ReadTask.executeProcessorTask(ReadTask.java:371)
at com.sun.enterprise.web.connector.grizzly.ReadTask.doTask(ReadTask.java:264)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:281)
at com.sun.enterprise.web.connector.grizzly.WorkerThread.run(WorkerThread.java:83)
|#]
Any further help is very much appreciated.
Similar Messages
-
How to check whether a SMTP server is supporting Authentication or not
Hi All,
We are using Java Mail API 1.3.1/1.3.2 to send the messages. some of the SMTP servers that we use are supporting authentication and some of them are not.
As the SMTPTransport.supportsAuthentication() is not available only in Java mail API 1.4.1, we are identifying the SMTP server whether it is supporting authentication or not in the following way.
Socket clientSocket = null;
InetSocketAddress socketAddress = null;
OutputStream outStream = null;
InputStream inStream = null;
InputStreamReader inReader = null;
OutputStreamWriter outWritter = null;
try
clientSocket = new Socket();
socketAddress = new InetSocketAddress(host, port);
clientSocket.connect(socketAddress, timeout*1000); // convert timeout from second to miliseconds
// 1: now try to execute the given command by passing that on Out-Socket
outStream = clientSocket.getOutputStream();
outWritter = new OutputStreamWriter(outStream);
outWritter.write("ehlo localhost" +"\n");
outWritter.flush();
// 2:Read output of above command
inStream = clientSocket.getInputStream();
inReader = new InputStreamReader(inStream);
// This array limit would be fine to get "AUTH" extension of smtp server.
char[] arr = new char[16384];
StringBuilder strBuilder = new StringBuilder();
inReader.read(arr);
for(int i=0; i< arr.length; i++)
strBuilder.append(arr);
System.out.println(METHOD_NAME + "SMTP server response for ehlo localhost command ->"+strBuilder.toString());
// The output EHLO command comes like below :
// ehlo localhost
// 250-ap9058pc.us.oracle.com Hello ap614ses.us.oracle.com [130.35.33.43], pleased to meet you
// 250-ENHANCEDSTATUSCODES
// 250-PIPELINING
// 250-8BITMIME
// 250-SIZE
// 250-DSN
// 250-ETRN
// 250-AUTH GSSAPI DIGEST-MD5 CRAM-MD5 LOGIN PLAIN
// Since for XATUH ( like internal IP),
// we are not sure, so just checking for AUTH capability.
supported = strBuilder.indexOf("250-AUTH") >=0? true : false;
As shown in above code, we are issuing 'ehlo localhost' command to SMTP server, if the response i. 'strBuilder' contains '250-AUTH' then we are assuming that it is supporting authentication.
But for one SMTP server the 'strBuilder' value is showing as '220 mail.durofelguera.com ESMTP Service (Lotus Domino Release 8.5.2) ready at Thu, 16 Feb 2012 13:57:20 +0100' only which is socket connection output but not 'ehlo localhost' command output.
where as the telnet test output is showing correct only as below
# telnet mail.durofelguera.com 25
Trying 172.20.16.65...
Connected to mail.durofelguera.com.
Escape character is '^]'.
220 mail.durofelguera.com ESMTP Service (Lotus Domino Release 8.5.2) ready
at 0
ehlo localhost
250-mail.durofelguera.com Hello localhost ([172.20.15.209]), pleased to meet
yu
250-HELP
250-AUTH LOGIN
250-SIZE
250 PIPELINING
AUTH LOGIN
The question is why the 'strBuilder' is not showing 'ehlo localhost' conad output where as the telnet test results are showing correctly, what is going wrong here?
Is there any other way to check that whether SMTP server is supporting authentication or not?
Edited by: sarojak on Feb 19, 2012 10:11 PMThere are so many things wrong with your code, it's hard to know where to start...
Basically, the problem is not as simple as you think it is.
For example, some servers might not allow authentication until you've issued
the STARTTLS command.
These days, essentially all servers allow authentication. You're probably better
off just assuming the server supports. -
A web service that calls another ws which need authentication
Hi,
I need to call a web service which need authentication.
I've used the following code:
SystemMsg sm = new SystemMsg();
sm.setMsgType("Test");
sm.setMsgDesc("Test");
sm.setDateTime("Test");
SystemMsgOB acbss = new SystemMsgOBBindingStub();
acbss._setProperty(SystemMsgOB.USERNAME_PROPERTY, "user");
acbss._setProperty(SystemMsgOB.PASSWORD_PROPERTY, "password");
acbss.systemMsgOB(sm);
When I try to run the project from the J2EE engine I get an exception: java.lang.IncompatibleClassChangeError.
When debugging I found that the method that causes the trouble is the _setProperty.
I'll appreciate any help.
Yaniv.Hi Yaniv,
This error previously only occurred if the inqmyxml.jar archive was enhanced incompatibly.
1) Terminate the SDM. Copy the inqmyxml.jar file from the deploying/lib subdirectory of the J2EE installation directory into the lib subdirectory of the SDM.
2) Make sure that you remove the original file from the lib subdirectory.
3) In particular, the file must not remain renamed in the lib subdirectory. Then restart the SDM and repeat the deployment by selecting "Restart".
Hope it helps,
Regards,
Nagarajan. -
Send iCloud email from alternative smtp server?
How do I send iCloud email from alternative smtp server? The setting is 'greyed out' on my iPhone so I cannot tell iCloud to use another server.
The reason is so I can have my outgoing email appear from my own domain email address rather than my me.com address. Mobileme would allow this - and Mail on the Mac does allow it, but the iPhone under iOS 5 seems not to allow it....
Any ideas?I have spent about 4-6 hours working directly with folks from Tim Cooke's office, various support levels, and through them their engineers.
As much as I tried to convince them their logic is flawed, the engineers for iCloud come back and say this is expected behavior because somehow it helps secure iCloud from being a spam source. The fine and helpful gentleman from Cooke's office now understands how it is a MobileMail.app client issue, having nothing to do with iCloud servers (because we are in fact trying to bypass their servers) still totes the "it's expected behavior" line from the server engineers.
I have implored him to follow up with the iOS MobileMail app programmers and not the iCloud programmers. I am hopeful he will. Until then you have to choose between having iCloud push and losing your online identity, or losing push email and keeping your preferred address.
Fun to try: turn off all smtp servers. Send email. Gets stuck in outbox. Turn on your preferred smtp server. That one email will use your preferred alternate address, but subsequent ones revert back to the old .me.com smtp servers. Personally I believe this points to a client programming error more than reinstating a preferred behavior. Aggravating!
I spend $500 on a new phone. Google takes away my exchange client ability and apple makes me choose push email vs outgoing email address. -
How to poll emails from a SMTP server
Hi, It seems all the examples I found were to construct/send emails to SMTP server. How to build a module to retrieve emails from a SMTP server and then extract the info? I checked the javax.mail.Transport
class and could not find method such as getMail or getMessage. Thanks,Close but so far... ;)
You'll want to check out the rest of the [url http://java.sun.com/products/javamail/javadocs/index.html] JavaMail API classes . In particular take a look at the Store and Folder classes.
One last thing - here's a really good [url http://java.sun.com/developer/onlineTraining/JavaMail/] tutorial that may help.
∞ brewman ∞ -
I changed my aol password but the SMTP server password did not change so I can't send mail. How can I change the SMTP password?
Go into Settings > Mail, Contacts, Calendars and select the account, then tap the account on the popup that you should get, and then tap on the SMTP server name
-
Yahoo mail via mac- smtp server authentcation issues using Rogers ISP
Hi All,
I know there is tons of comments posted here that are quite redundant in respects to using yahoo mail via mac. I am in Toronto using Rogers as ISP and have set up my pop ok - incoming mail is ok. I try to send a test email and i am getting the message
Cannot send message using the server smtp.mail.yahoo.com
The server response was: authentication required - for help go to http://help.yahoo.com/help/us/mail/pop/pop-11.html
I hav tried all kinds of stuff here based on suggestions i have read in this forum.
incoming mail server- pop.mail.yahoo.com
outgoing mail server - smtp.mail.yahoo.com
server settings- port 587- have also tried 25
ssl not checked
authentication is not checked
i have tried smtp.rogers.broadband.com as an alternative also, but then it simply rejects my authentication password
I am really stuck here- if anyone out there in Toronto area using Rogers, has any feedback, i greatly welcome it.
Hope to hear from you.
Barry
macbook pro- Mac OS X (10.4.8)No. not SSL.
Server authentication.
And i don't think you need to add a password there. You are already sending password from the POP settings - SMTP authentication picks up password from there.
This is from the help file at rogers.com (your ISP?)
http://help.yahoo.com/help/rogers/mail/pop/pop-15.html
Are you sure that using these settings don't work?
This is for Outlook Express for Mac, but your Mail settings should be close enough to find the appropriate boxes.
If your friend is on rogers yahoo, just duplicate her settings except in the address/password boxes.
Outlook Express allows you to add a new email account to your existing profile, so you do not have to replace your current settings in order to send and receive Rogers Yahoo! Mail messages. To set this up, follow these steps:
1. From the Tools menu, choose "Accounts."
2. Select the "Mail" tab.
3. Click the "Add" button.
4. From the Add menu, click "Mail."
5. In the Display Name text box, type your name, and then click "Next."
6. In the email address box, enter your full Rogers Yahoo! Mail address (e.g., [email protected] or [email protected]).
7. In the Incoming (POP3) box, type:
pop.broadband.rogers.com
8. In the Outgoing (SMTP) box, type:
smtp.broadband.rogers.com
9. Click "Next."
10. In the Account Name box, type your full Rogers Yahoo! Mail address (e.g., [email protected] or [email protected]).
11. In the Password box, type your Rogers Yahoo! Mail password.
12. If you want Outlook Express to remember your password, then check the box.
13. Do not check the "Log on using secure password... " box.
14. Click "Next."
15. Click "Finish."
To control deletion of messages from the Rogers Yahoo! Mail Server, follow these steps:
1. From the Tools menu, choose "Account."
2. Select the "Mail" tab.
3. Double-click on your Rogers Yahoo! Mail account.
4. Select the "Options" tab.
5. In the Server Options section at the bottom of the window, check "Leave a copy of each message on the server" if you want to save your Rogers Yahoo! Mail messages on both the Rogers Yahoo! Mail server and on your local computer. If you would prefer to have your messages deleted from the Rogers Yahoo! Mail server after you have received them in Outlook Express, do not check this box.
To change your default SMTP port settings:
1. On the Tools menu, click Accounts.
2. On the Mail tab, click your Internet Mail account, and then click Edit.
3. On the Account Settings tab, click Click here for advanced sending options, and then type 587 as the port number for your SMTP (or sending) mail. -
I’m trying to send email using exchange send connector STARTTLS setting to the SMTP server. I have read multiple documents on configuring TLS for send connector, but they talks about outbound connections to internet facing servers. My Exchange 2013 and SMTP
server is in the same domain (let’s say A.com) and I’m creating dummy domains on my SMTP server (e.g.
[email protected],
[email protected] ) and their respective send connectors on the exchange server end. In the smart host section added the IP address of the SMTP server and in the scoping section added the SMTP domain address (e.g. dummy1.local ). In the FQDN field, added
the FQDN of the exchange server 2013 which certificate is enabled with SMTP service.
Could you tell me a step by step procedure, where I’m going wrong or any extra settings needs to added?
Presently, it is giving me an error that 530 5.5.1 TLS encrypted connection is required.
Note: I’ve created the Microsoft CA certificates for the SMTP and exchange servers and imported them in the personal certificate container. In which, the exchange certificate is created with FQDN name of the server and enabled for the SMTP service.
I’m using OPENSSL certificate for making the SMTP server TLS enabled. (let me know, if I need to import the OPENSSL certificate anywhere on the exchange end)?
Thanks!-IgnoreSTARTTLS is set to false on the send connector properties.
I'm trying to established a HTTP over TLS connection. I'm not using mutual TLS between these two server.
The send connector protocol logging is attached as below,
2014-09-22T20:09:45.468Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,2,10.219.3.74:24939,10.219.3.73:25,<,220 SMTP.A.local Welcome (MTA version),
2014-09-22T20:09:45.546Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,3,10.219.3.74:24939,10.219.3.73:25,>,EHLO Exchange.A.local,
2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,4,10.219.3.74:24939,10.219.3.73:25,<,250-SMTP.A.local Exchange.A.local OK,
2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,5,10.219.3.74:24939,10.219.3.73:25,<,250-SIZE,
2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,6,10.219.3.74:24939,10.219.3.73:25,<,250-8BITMIME,
2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,7,10.219.3.74:24939,10.219.3.73:25,<,250-BINARYMIME,
2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,8,10.219.3.74:24939,10.219.3.73:25,<,250-PIPELINING,
2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,9,10.219.3.74:24939,10.219.3.73:25,<,250-HELP,
2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,10,10.219.3.74:24939,10.219.3.73:25,<,250-DSN,
2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,11,10.219.3.74:24939,10.219.3.73:25,<,250-CHUNKING,
2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,12,10.219.3.74:24939,10.219.3.73:25,<,250-AUTH SCRAM-SHA-1 GSS-SPNEGO DIGEST-MD5 CRAM-MD5 NTLM,
2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,13,10.219.3.74:24939,10.219.3.73:25,<,250-AUTH=SCRAM-SHA-1 GSS-SPNEGO DIGEST-MD5 CRAM-MD5 NTLM,
2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,14,10.219.3.74:24939,10.219.3.73:25,<,250-STARTTLS,
2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,15,10.219.3.74:24939,10.219.3.73:25,<,250-DELIVERBY,
2014-09-22T20:09:45.624Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,16,10.219.3.74:24939,10.219.3.73:25,<,250-MT-PRIORITY,
2014-09-22T20:09:45.640Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,17,10.219.3.74:24939,10.219.3.73:25,<,250 ENHANCEDSTATUSCODES,
2014-09-22T20:09:45.655Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,18,10.219.3.74:24939,10.219.3.73:25,>,STARTTLS,
2014-09-22T20:09:45.671Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,19,10.219.3.74:24939,10.219.3.73:25,<,220 2.7.0 Ready to start TLS,
2014-09-22T20:09:45.687Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,20,10.219.3.74:24939,10.219.3.73:25,*,,Sending certificate
2014-09-22T20:09:45.687Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,21,10.219.3.74:24939,10.219.3.73:25,*,CN=Exchange.A.local,Certificate subject
2014-09-22T20:09:45.687Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,22,10.219.3.74:24939,10.219.3.73:25,*,"CN=DC-CA, DC=A, DC=local",Certificate issuer name
2014-09-22T20:09:45.687Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,23,10.219.3.74:24939,10.219.3.73:25,*,63E7E70100000000000B,Certificate serial number
2014-09-22T20:09:45.687Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,24,10.219.3.74:24939,10.219.3.73:25,*,CAEB1200CDF49715E5F2E4B8315EFDDC01F8F945,Certificate thumbprint
2014-09-22T20:09:45.780Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,25,10.219.3.74:24939,10.219.3.73:25,*,Exchange.A.local,Certificate alternate names
2014-09-22T20:09:46.654Z,Exchange-SMTP send connector,08D1A4A14C7EDED5,26,10.219.3.74:24939,10.219.3.73:25,-,,Local
2014-09-22T20:09:46.669Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,0,,10.219.3.73:25,*,,attempting to connect
2014-09-22T20:09:46.685Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,1,10.219.3.74:24940,10.219.3.73:25,+,,
2014-09-22T20:09:46.701Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,2,10.219.3.74:24940,10.219.3.73:25,<,220 SMTP.A.local Welcome (MTA version),
2014-09-22T20:09:46.701Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,3,10.219.3.74:24940,10.219.3.73:25,>,EHLO Exchange.A.local,
2014-09-22T20:09:46.716Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,4,10.219.3.74:24940,10.219.3.73:25,<,250-SMTP.A.local Exchange.A.local OK,
2014-09-22T20:09:46.716Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,5,10.219.3.74:24940,10.219.3.73:25,<,250-SIZE,
2014-09-22T20:09:46.716Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,6,10.219.3.74:24940,10.219.3.73:25,<,250-8BITMIME,
2014-09-22T20:09:46.716Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,7,10.219.3.74:24940,10.219.3.73:25,<,250-BINARYMIME,
2014-09-22T20:09:46.716Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,8,10.219.3.74:24940,10.219.3.73:25,<,250-PIPELINING,
2014-09-22T20:09:46.716Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,9,10.219.3.74:24940,10.219.3.73:25,<,250-HELP,
2014-09-22T20:09:46.716Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,10,10.219.3.74:24940,10.219.3.73:25,<,250-DSN,
2014-09-22T20:09:46.716Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,11,10.219.3.74:24940,10.219.3.73:25,<,250-CHUNKING,
2014-09-22T20:09:46.716Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,12,10.219.3.74:24940,10.219.3.73:25,<,250-AUTH SCRAM-SHA-1 GSS-SPNEGO DIGEST-MD5 CRAM-MD5 NTLM,
2014-09-22T20:09:46.716Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,13,10.219.3.74:24940,10.219.3.73:25,<,250-AUTH=SCRAM-SHA-1 GSS-SPNEGO DIGEST-MD5 CRAM-MD5 NTLM,
2014-09-22T20:09:46.716Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,14,10.219.3.74:24940,10.219.3.73:25,<,250-STARTTLS,
2014-09-22T20:09:46.732Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,15,10.219.3.74:24940,10.219.3.73:25,<,250-DELIVERBY,
2014-09-22T20:09:46.732Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,16,10.219.3.74:24940,10.219.3.73:25,<,250-MT-PRIORITY,
2014-09-22T20:09:46.732Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,17,10.219.3.74:24940,10.219.3.73:25,<,250 ENHANCEDSTATUSCODES,
2014-09-22T20:09:46.810Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,18,10.219.3.74:24940,10.219.3.73:25,*,,sending message with RecordId 52652004081667 and InternetMessageId <[email protected]>
2014-09-22T20:09:46.810Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,19,10.219.3.74:24940,10.219.3.73:25,>,MAIL FROM:<> SIZE=7653 BODY=BINARYMIME,
2014-09-22T20:09:46.810Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,20,10.219.3.74:24940,10.219.3.73:25,>,RCPT TO:<[email protected]>,
2014-09-22T20:09:46.825Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,21,10.219.3.74:24940,10.219.3.73:25,<,530 5.5.1 A TLS-encrypted connection is required,
2014-09-22T20:09:46.950Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,22,10.219.3.74:24940,10.219.3.73:25,<,503 5.5.1 unexpected RCPT command,
2014-09-22T20:09:46.981Z,Exchange-SMTP send connector,08D1A4A14C7EDED6,23,10.219.3.74:24940,10.219.3.73:25,>,RSET, -
Can't Send Mail Via HughesNet SMTP Server
After installing 10.5 I find that I can receive mail from my ISP (HughesNet) but I can't send mail through the smtp server. I've tried every setting possible and even duplicated the settings off my wife's 10.4.10 iMac and I still can't send mail. All I see is that the smtp service is "Offline."
Fortunately, I have a .Mac account so I can send mail using that smtp server. But I'd like to be abel to use my HughesNet server.
Does anyone have any suggestions?My mom uses RoadRunner by Time Warner. She was able to receive email using Leopard and Mail but not send. SMTP server was the big problem like everyone else here experienced. We finally were able to get it to work using many ideas here. What we did:
1) Delete com.apple.mail.plist from the User/Library/Preferences folder (BACK UP YOUR EMAIL FIRST)
2) Open Mail and create a new account but disable the automatic set-up feature, put your info in manually.
3) Uncheck " Use only this server" from the outgoing mail
4) Under the Advanced tab on Mail Prefs "port set to 25", Uncheck "SSL" box, and uncheck "Use Authentication"
5) Now hit Create
It took Mail about 20 minutes to contact the SMTP server, but it did and now I can send and receive Mail without any problems on her computer.
Bad Apple...stop criticizing MS and Vista when your own house is not in order yet. Hope this helps someone out there..... -
Exchange 2010 route email to SAP smtp server
Hi,
we have a Exchange2010 infrastructure, i need to route email received to a specific address: [email protected], to a SAP smtp server: serverip:25000
How can i obtain this?
Thanks in advanceHi,
Please review note 455140.
Settings on the mail server (SAP-external configuration)
To be able to receive mails in the SAP system, you need to set your mail server so that certain mail addresses are forwarded to one or several SAP systems or clients. For this purpose, you need to define routing rules that assign a mail host and/or port to address areas (generic address parts, usually the domain), for example:
*@crm-prod.company.com --> SAPWASHost:25000
*@crm-test.company.com --> SAPWASHost:25001
For more information about the exact setting procedure, see the mail server documentation.
Thank you.
Best regards,
Ciarán -
Cannot send emails - connection to SMTP server timeout
I cannot send emails from my Thunderbird. Every time I try, an error message shows up saying that the connection to SMTP server has timed out:
"Sending of message failed.
The message could not be sent because the connection to SMTP server smtp.lineone.net timed out. Try again or contact your network administrator."
I have looked at many different possible solutions and tried them, but nothing seems to be working. I have tried several different ports, failed to send in Safe Mode with Networking and Thunderbird safe mode without add-ons and tried many different settings. I have ensured that the my settings on Thunderbird match the settings that my ISP recommends. My anti-virus software is not affecting it either. Maybe there is something I am missing but I would really appreciate any suggestions!
Here is some general info:
Mail provider: lineone
ISP: BT
Anti-virus software: AVG
OS: Windows Vista
Thunderbird version: 31.5.0Hello @shredo,
Firstly, I would suggest reading this support article: https://support.mozilla.org/en-US/kb/cannot-send-messages
If that doesn't help, try some of these things (not sorted in any particular order):
*Test your connection in another network. There might just be some blocked ports in your router or conflict of some sort.
* Test your smtp settings in another email client (to ensure that they actually work). If it doesn't work, there might be some missmatch with the settings (even though you have ensured that they match), or some restriction by your router or something.
* Apparently, compacting your thunderbird folders might help with this issue (something to do with too many "deleted", that are still there) - http://kb.mozillazine.org/Thunderbird_:_Tips_:_Compacting_Folders
I hope this helps. -
We are running SUN IM server 6.0 with JWCHat as webclient.
I want to know if I can set up SUN IM server to deliver the alert messages as emails incase the user is not in the chat session.
I know i can do this if I use the SUn java messaging client by selecting the user preferences.
But we do not want users to select the preference, we want to enable this on the server.
regards,
OmkarIM 6.0 is very old version of IM, you can try out the latest IM 7.2 available in the market & can achieve this funtionality by setting the smtp.server parameter in the iim.conf file of im-server.
-
Sending an email via alternative SMTP
Hi, up until recently Mail would politely prompt me to choose an alternate SMTP setting if I had sent an email using a non-available server setting. Example:
When at home my ISP requires me to use smtp.johndoe.com but when at work I use their relay settings, so instead of having to remember which one to use Mail used to come up with a dialogue box and I could select the appropriate one. For some bizarre reason that service just stopped.
Now, any mail sent using the wrong setting doesn't get flagged, it just sits in the mail out folder..
Any ideas anyone? thanksThe problem seems to be that the result of the first "run apple script action" is in a slightly different format than the "new mail message" action wants even though it's text. I don't know how to coerce it to the correct format from the "run apple script" action itself (it should be possible though) but an easy way around is to add a dummy "run shell script action which will do nothing but convert it to the correct format.
so change the beginning of your workflow like this
1. run apple script
<pre style="
font-family: Monaco, 'Courier New', Courier, monospace;
font-size: 10px;
margin: 0px;
padding: 5px;
border: 1px solid #000000;
width: 720px;
color: #000000;
background-color: #ADD8E6;
overflow: auto;"
title="this text can be pasted into the Script Editor">
on run {input, parameters}
set mypass to text returned of (display dialog "What are you doing?" with icon 1 buttons {"Tweet", "Cancel"} default button "Tweet" default answer "")
end run</pre>
2. run shell script
just add this action and keep it in the default form "cat". don't change anything in it.
3. new mail message.
Message was edited by: V.K. -
[help] how to client a Web Services server which need authenticate?
I am programming a Web Services Client, and the Web Services need http basic authentication.
Most of codes are generated by Netbeans from a WSDL file, but the program return me a ClientTransportException: request requires HTTP authentication: Unauthorized.
How to write codes and where should I insert them?
printStackTrace as follow:
com.sun.xml.ws.client.ClientTransportException: request requires HTTP authentication: Unauthorized
com.sun.xml.ws.transport.http.client.HttpClientTransport.checkResponseCode(HttpClientTransport.java:232)
com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:151)
com.sun.xml.ws.transport.http.client.HttpTransportPipe.processRequest(HttpTransportPipe.java:88)
com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
com.sun.xml.ws.client.Stub.process(Stub.java:248)
com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:134)
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:244)
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:224)
com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:117)
$Proxy27.zbjdaFmMd0H(Unknown Source)
org.apache.jsp.index_jsp._jspService(index_jsp.java:94)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:393)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.netbeans.modules.web.monitor.server.MonitorFilter.doFilter(MonitorFilter.java:390)
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
java.lang.Thread.run(Thread.java:619)and my page code as follow:
<%--
Document : index2
Created on : 2008-10-13, 16:25:54
Author : Hawkeyes
--%>
<%@page contentType="text/html" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JSP Page</title>
</head>
<body>
<h2>Hello World!</h2>
<%-- start web service invocation --%><hr/>
<%
try {
com.heliteq.wsclient.client.ZBJDAFMMD0HV1_Service service
= new com.heliteq.wsclient.client.ZBJDAFMMD0HV1_Service();
com.heliteq.wsclient.client.ZBJDAFMMD0HV1 port = service.getZBJDAFMMD0HV1();
// TODO initialize WS operation arguments here
javax.xml.ws.Holder<com.heliteq.wsclient.client.TableOfZbjdaTbMd0R> tabItab
= new javax.xml.ws.Holder<com.heliteq.wsclient.client.TableOfZbjdaTbMd0R>();
javax.xml.ws.Holder<com.heliteq.wsclient.client.Bapireturn> expReturn
= new javax.xml.ws.Holder<com.heliteq.wsclient.client.Bapireturn>();
port.zbjdaFmMd0H(tabItab, expReturn);
} catch (Exception ex) {
// TODO handle custom exceptions here
%>
<%-- end web service invocation --%><hr/>
</body>
</html>Edited by: Winds on Oct 16, 2008 9:49 AMThis thread will soon be locked. You are replying to a topic which is -years- old, the person you demand help from is not going to see your cry for help.
Create a new thread and post all relevant information that you have, including exception stacktraces that you are getting. But before that you should take a big hint from this thread; the OP found a solution. This means you should be able to find one too, if you take the time to look for it. a Google search on parts of the exception stacktrace usually lead to the answer very quickly. -
WiFi webcam WVC54GC: Motion triggered email via unencrypted SMTP
I've been trying to get the WVC54GC to send an image by email when it detects motion. Currently, it just generates the following errors when it detects motion:
01/01/1990 04:23:57 SMTP:
Error during the connection or timeout.
01/01/1990 04:23:53 Alert: Triggered.
The gateway and DNS are properly set. I did some testing of the SMTP connection to the server using Outlook. I found that the ISP's email server only accepts SSL/TSL. Not being a specialist in this area, I'm not sure if encryption applies only to the login data or the whole message, but it doesn't seem to me to matter -- the webcam has no switch to activate SSL/TSL regardless.
I searched the web for SMTP settings for the big three providers of free email (Google, Yahoo, Hotmail) and they all require SSL/TSL for SMTP. How have other WVC54GC users handled this requirement?Looks like you might’ve hit the nail on the head with the SSL/TLS requirement. Doesn’t seem to be any option in the camera’s setup page for setting that. What firmware are you running on your camera? Is it the latest? There may be an option for that in the newer firmware
Maybe you are looking for
-
How to implement SSO to non-SAP systems using SAP logon ticket?
Hello, We would like to implement Single Sign On between our SAP Netweaver system and a Siebel which is a non-SAP system using SAP logon tickets. Can anyone please give me some leads on this, in particular: 1. Is there a JAVA API or an SAP plug-in th
-
Issue with Drag&Drop between table and tree component
I want to drag table rows and drop it on the tree node. I use following code to achieve this: <af:table value="#{bindings.pricingObjects.collectionModel}" var="row" rows="#{bindings.pricingObjects.rangeSize}" emptyText="#{bindings.pricingObjects.view
-
TS1372 If the error i get is 1413 and not one of the aboves?
I just bought an iPod Classic (Late 2009) from one of my friends, but he didn't restore it, and it has a password on it. Whenever i try to restore it takes about 2 seconds and it says: "Unable to restore. (1413)" I tried all of the solutions that wer
-
Hai ... I have using SAP Business One 2005 . PL-39. I Need to Create the Document Draft for UDO Screen. Is it able to Create ??? How to Use the Save As Draft Menu( File->Save as Draft) for our UDO Screen. ??? Thanks & Regards Madhu ..
-
I originally posted this elsewhere in discussions; however this may be a better placement for it. I use GIMP which requires X11 and recently it has stopped working. I rolled back to an older version of GIMP, installed the Xll upgrade on the Leopard D