Error during the execution of a Send Mail Task In SSIS - email

I am trying to configure a Send Mail Task in SSIS. So far I have done this:
First I look for the smtp server in Outlook:
Then in SSIS I set the "Send Mail Task" with this value in the conection field.
But when I try to execute the task to send the message, I'm getting the error:
[Send Mail Task] Error: An error occurred with the following error message:
"Error al enviar correo. System.Net.WebException: No es posible conectar con el
servidor remoto System.Net.Sockets.SocketException: Se produjo un error
durante el intento de conexión ya que la parte conectada no respondió
adecuadamente tras un periodo de tiempo, o bien se produjo un error en la
conexión establecida ya que el host conectado no ha podido responder
10.158.122.33:25".
Something like "... It is not possible to connect with the remote server
System.Net.Sockets.SocketException:...or maybe there is an
error in the connection because the connected host could not answer "
So, what can be wrong?
Regards.

Related

javax.mail.MessagingException: [EOF]

Im having problems with sending out a notification through SMTP using either smtp.gmail.com or smtp-relay.gmail.com. Here is the error thats been given
Note: Im using Oracle Weblogic Server for the SMTP Notification.
<BEA-320047> <Mail notification has not been sent due to an error that occurred while creating or sending a mail message:
com.bea.diagnostics.notifications.NotificationPropagationException: javax.mail.MessagingException: [EOF]
at com.bea.diagnostics.notifications.SMTPNotificationService.send(SMTPNotificationService.java:253)
at weblogic.diagnostics.watch.SMTPNotificationListener.processWatchNotification(SMTPNotificationListener.java:218)
at weblogic.diagnostics.watch.Watch.performNotifications(Watch.java:608)
at weblogic.diagnostics.watch.Watch.evaluateLogRuleWatch(Watch.java:532)
at weblogic.diagnostics.watch.WatchManager.evaluateLogEventRulesAsync(WatchManager.java:752)
at weblogic.diagnostics.watch.WatchManager.run(WatchManager.java:512)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused By: javax.mail.MessagingException: [EOF]
at com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1481)
at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1512)
at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:1054)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:634)
at javax.mail.Transport.send0(Transport.java:189)
at javax.mail.Transport.send(Transport.java:118)
at com.bea.diagnostics.notifications.SMTPNotificationService.send(SMTPNotificationService.java:235)
at weblogic.diagnostics.watch.SMTPNotificationListener.processWatchNotification(SMTPNotificationListener.java:218)
at weblogic.diagnostics.watch.Watch.performNotifications(Watch.java:608)
at weblogic.diagnostics.watch.Watch.evaluateLogRuleWatch(Watch.java:532)
at weblogic.diagnostics.watch.WatchManager.evaluateLogEventRulesAsync(WatchManager.java:752)
at weblogic.diagnostics.watch.WatchManager.run(WatchManager.java:512)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
I don't have a clue on how i can resolve it and i do have a deadline by friday :( Badly needed help with this one. Thanks in advance guys.

Erreur lors de l'envoi de l'email (SMTP-AUTH requested but missing secret phrase)

I'm using Redmine 2.6.4.stable, with Ruby version 1.9.3-p194 (2012-04-20) [x86_64-linux], and Rails version 3.2.21.
I can't activate the sending by email.
I catch that error : "Erreur lors de l'envoi de l'email (SMTP-AUTH requested but missing secret phrase)".
I check my config in the config/configuration.yml every thing look ok :
production:
email_delivery:
delivery_method: :smtp
smtp_settings:
address: smtp.google.com
port: 25
domain: mydomain.com
user_name: redmine#mydomain.com
Every one migth have meet that kind of problem ? Thanks to please tell me how I could solve it.
Best regards,
Djass
First: Are your credentials really right?
If yes have a look at Open Project Configuration of E-Mail-Notification - Error (SMTP-AUTH requested but missing secret phrase)
There the opener could resolve his issue doing (of course you have to set your credentials / server infos):
email_delivery_method: :confounded:mtp #main level, will not work
default: #main level
email_delivery_method: :confounded:mtp #setting for default
smtp_address: smtp.server.com #setting for default
smtp_port: 587
smtp_domain: my-domain.com
smtp_user_name: username
smtp_password: pass
smtp_enable_starttls_auto: true
smtp_authentication: plain
and then had to restart is apache server
and than i have to restart the apache-server. I do not know for now if the passenger-modul or ruby re-read the yml-files after changeing them or the fcgi-modul. Nevertheless it works.
edit: This is my email configuration working smoothly
email_delivery:
delivery_method: :smtp
smtp_settings:
enable_starttls_auto: false
address: "host_in_double_question"
port: 587
domain: 'domain_of_mailserver_in_single_quotes'
authentication: :login
user_name: "username_in_double_questions"
password: "password_in_double_quotes"
openssl_verify_mode: 'none'

How to send email with SMTP service with IIS8 and Classic ASP?

I'm trying to send emails with classic ASP and IIS 8.5 for that I use SMTP Service (no SMTP Server) in IIS and a email account from Gmail.
The error message when I'm testing the page is:
CDO.Message.1 error '80040213'
Error de transporte en la conexión al servidor.
/anotala/prueba-Email.asp, línea 38
Mys ASP code is:
Set objConfig = Server.CreateObject("CDO.Configuration")
Set Fields = objConfig.Fields
With Fields
.Item(cdoSendUsingMethod) = cdoSendUsingPort
.Item(cdoSMTPServer) = "smtp.gmail.com"
.Item(cdoSMTPServerPort) = 25
'.Item(cdoSMTPConnectionTimeout) = 10
.Item(cdoSMTPAuthenticate) = cdoBasic
.Item(cdoSendUserName) = "emailaccount#gmail"
.Item(cdoSendPassword) = "pwd123"
.Update
End With
Set objMessage = Server.CreateObject("CDO.Message")
Set objMessage.Configuration = objConfig
With objMessage
.To = "to#gmail.com"
.From = "from#gmail.com"
.Subject = "Prueba Nro. 1"
.TextBody = "Este es el cuerpo de la prueba Nro. 1"
.Send
End With
And this is the configuration of the IIS:
I would like to know where is the problem and How can I solve it?
http://www.w3schools.com/asp/asp_send_email.asp
https://support.google.com/a/answer/176600?hl=es
From your code it seems as if you are setting up your smtp connection in the code over using your IIS configuration. I do not believe you can use your IIS configuration with CDOSYS (see the answer here: https://stackoverflow.com/a/6489539/3915817). You alrerady have it properly set up in your code but this line
.Item(cdoSMTPServer) = "smtp.gmail.com"
Indicates that you are using the SSL only version of google's smtp connection. This is actually good as you likely want to encrypt your username and password anyhow and not send them in plain text. You need to tell CDOSYS to use SSL though. you can do that by first using the correct port based on Google's API so I would change this your port line to:
.Item(cdoSMTPServerPort) = 465
and then you need to set up enabling SSL adding another constant
Const cdoSendTLS = "http://schemas.microsoft.com/cdo/configuration/smtpusessl"
and add the item line to your fields block like so
.Item(cdoSendTLS) = 1
Sources:
http://www.saotn.org/authenticated-smtp-tlsscript-example-asp-php-aspnet-csharp-vbnet/#auth_smtp_tls_classic_asp
http://webcheatsheet.com/asp/sending_email_asp.php#remoteservergmail

Jenkins-Testlink HTTP server returned unexpected status: Authorization Required

I have installed jenkins 1.5 and testlink 1.9.5 (which are on my computer, call it machineA). I have installed testlink 1.9.2 which is on a server (call it machineB).
When I’m trying to connect Jenkins (1.5) with TestLink (1.9.5) thru Jenkins configuration in order to retrieve tests, it works perfectly.
But when I’m trying to connect Jenkins (1.5) with TestLink (1.9.2), while running the job in Jenkins I get the below error in the console :
FATAL: Error verifying developer key: HTTP server returned unexpected status: Authorization Required
br.eti.kinoshita.testlinkjavaapi.util.TestLinkAPIException: Error verifying developer key: HTTP server returned unexpected status: Authorization Required
at br.eti.kinoshita.testlinkjavaapi.MiscService.checkDevKey(MiscService.java:66)
at br.eti.kinoshita.testlinkjavaapi.TestLinkAPI.<init>(TestLinkAPI.java:162)
at hudson.plugins.testlink.TestLinkBuilder.getTestLinkSite(TestLinkBuilder.java:244)
at hudson.plugins.testlink.TestLinkBuilder.perform(TestLinkBuilder.java:134)
at hudson.tasks.BuildStepMonitor$1.perform(BuildStepMonitor.java:19)
at hudson.model.AbstractBuild$AbstractBuildExecution.perform(AbstractBuild.java:810)
at hudson.model.Build$BuildExecution.build(Build.java:199)
at hudson.model.Build$BuildExecution.doRun(Build.java:160)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:592)
at hudson.model.Run.execute(Run.java:1568)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)
Caused by: org.apache.xmlrpc.client.XmlRpcHttpTransportException: HTTP server returned unexpected status: Authorization Required
at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.getInputStream(XmlRpcSunHttpTransport.java:94)
at org.apache.xmlrpc.client.XmlRpcStreamTransport.sendRequest(XmlRpcStreamTransport.java:152)
at org.apache.xmlrpc.client.XmlRpcHttpTransport.sendRequest(XmlRpcHttpTransport.java:143)
at org.apache.xmlrpc.client.XmlRpcSunHttpTransport.sendRequest(XmlRpcSunHttpTransport.java:69)
at org.apache.xmlrpc.client.XmlRpcClientWorker.execute(XmlRpcClientWorker.java:56)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:167)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:158)
at org.apache.xmlrpc.client.XmlRpcClient.execute(XmlRpcClient.java:147)
at br.eti.kinoshita.testlinkjavaapi.BaseService.executeXmlRpcCall(BaseService.java:90)
at br.eti.kinoshita.testlinkjavaapi.MiscService.checkDevKey(MiscService.java:62)
... 12 more
ERROR: Erreur de communication avec TestLink. Vérifiez votre configuration de TestLink.
Enregistrement des résultats des tests
Finished: FAILURE
How could I solve this prblm? Any advice?
You have problem with DEV-KEY:
FATAL: Error verifying developer key: HTTP server returned unexpected status: Authorization Required
br.eti.kinoshita.testlinkjavaapi.util.TestLinkAPIException: Error verifying developer key: HTTP server returned unexpected status: Authorization Required
I think you can try generate new dev key and try again.

Connect Heroku postgres from localclient

I'm trying to connet with
psql -h ec2-23-23-227-54.compute-1.amazonaws.com -U igcmskkpsx igcmskkpsx
but it answer:
psql: no se pudo conectar con el servidor: Connection timed out (0x0000274C/10060)
¿Está el servidor en ejecución en el servidor «ec2-23-23-227-54.compute-1.amazonaws.com» y aceptando
conexiones TCP/IP en el puerto 5432?
Please any suggestion?
Heroku dosen't allow access from an external client while the account is free; I had to use the cleanMysql plugin to access from my local navicat
You may need to specify the port with -P porthere when connecting if its not runnin gon the default port.