Configure Fail over SMTP Sever in JBoss Fuse 6.1.0 - jboss

I am trying to add one more SMTP server as a fail over Server.
Currently I have configured One mail server details and added in System Properties and sending mail Transport.
Is it possible using configuration file ?

Related

Enable TLS 1.2 for mail sub system on jboss wildfly

Wanted to enable tls 1.2 protocol used for email send using the jboss wildfly mail sub system.
Provided tls="true" in the smtp config tag in standalone.xml file, but the server is sending the emails using tls1.1 instaed of 1.2. What settings required to use tls1.2 ?

SMTP Mail Service is not working in AEM 6.4 (Service pack 7) - Invalid mail service configuration

We are trying to send email from an AEM Service using MessageGatewayService API. The weird part is, it is working on all lower environment and including in our local aem instance but it is not working only in Live servers. We verified the below things
Verified org.apache.sling.healthcheck: smtpMailService service
(/system/console/jmx/org.apache.sling.healthcheck%3Aname%3DsmtpMailService%2Ctype%3DHealthCheck),
it says “The E-mail Service appears to be working properly. Verify
the health check e-mail was sent to [ healthcheck#example.com ]”
Verified that the smtp host is open with port number using telnet from both author and publish servers
Restarted Day Communique 5 Mailer com.day.cq.cq-mailer bundle
Error Message:-
com.day.cq.mailer.MailingException: Invalid mail service configuration.
at com.day.cq.mailer.impl.DefaultMailService.send(DefaultMailService.java:270)
at com.day.cq.mailer.impl.DefaultMailService.send(DefaultMailService.java:45)
Is there any additional configuration to verify?
This problem got resolved after restarting AEM servers

Configuring Outbound email in Alfresco

I have configured Outbound email in Alfresco, by following this link:
http://docs.alfresco.com/4.1/concepts/email-outboundsmtp-props.html
My alfresco-global.properties contains:
### email server config smtp outbound
mail.host=emailserver.domain.com
mail.port=25
mail.username=example#domain.com
mail.password=password
mail.encoding=UTF-8
mail.from.default=example#domain.com
mail.smtp.auth=false
mail.protocol=smtp
mail.smtp.timeout=30000
I get the following error:
No authentication mechanisms supported by both server and client
The same configuration works with Alfresco hosted on a Windows server but doesn't work with Cent OS server.
Any idea what could be the cause ?
Make sure that your email id which you are using to send emails is less secure#
# Outbound Email Configuration
#-------------
mail.host=smtp.gmail.com
mail.port=465
mail.encoding=UTF-8
mail.username=****#gmail.com
mail.password=*******
mail.protocol=smtps
mail.from.default=****#gmail.com
mail.smtps.starttls.enable=true
mail.smtps.auth=true

A way to forward or intercept smtp mail request to localhost?

Wondering if we have options for a failing smtp mail at "localhost" after changing DNS host.
The problem setup is this:
SMTP mail is being sent from a server, with mail being configured on the server itself. Originally, server was host of DNS domain as well as web app.
Using JavaMail, a request is sent to "localhost" without any authentication
The DNS settings have changed, server hosting web app is no longer the "from" email address
The Java web app cannot be modified and is still sending to "localhost"
Question: Do we have any options?
I'd like to intercept the "localhost" smtp mail request and forward it along to our domain's mail server, with new credentials, but am unsure if that is possible. A stand-alone script to watch for those requests?
We did receive the suggestion to edit our DNS settings on the new hosting and add "MX" and "A" records, but that would require a change of source code, which is not an option at this time.
Thanks!
If there's no SMTP server running on localhost, and you just want to redirect mail to another mail server without authentication, you could use a simple "proxy/tunnel" using something like the "netcat" program.
If there is an SMTP server running on localhost, you might be able to configure it to forward all messages to your other mail server.
Otherwise, is it possible to change the properties used by JavaMail in your web app, without changing the source code? For example, do the properties come from a file or from System.getProperties()?

How to send mails from Magento?

I have installed Magento 1.7 on my mac. What should I do to send emails about orders from localhost. I'm developing store localy and just want to check how it works.
Use the tool give on this link Test mail tool
For sending the emails you need SMTP server which listens to port number 25.By default there is no SMTP server with wamp. So you need to use some SMTP tool to check email sending feature in local environment.