How to send a mail in activiti? - email

I made a process using activiti-explorer and I deployed.I have a startevent,mail task,user task and endevent.When I started the process it says "Warning!Could not send e mail". What should I do?
Thanks

The Activiti engine sends e-mails trough an external mail server with SMTP capabilities. To actually send e-mails, the engine needs to know how to reach the mail server. Following properties can be set in the activiti.cfg.xml configuration file.
More info: http://www.activiti.org/userguide/#bpmnEmailTask

Related

Forwarded email replay with phpmailer

I have question script for running forward my own email (do not have autoforward facility) to my Gmail. I want to do it using phpmailer.
So I can make cronjobs for running php script everyday (running get email and forwading to my Gmail).
How can I go forward with this?
PHPmailer alone will not be able to help you with forwarding as it is only a transfer class, for outgoing emails. You will need to set up a mail server (like Postfix) with an email handler (like Dovecot) if you are in Linux to receive incoming emails. PHPmailer can be used for the forwarding process but there are other solutions.
I recommend you look into a service like mailgun.com instead. They have a routing feature for forwarding incoming emails that is very easy to set up (if you have dns access to your current email domain). You can send 10k emails for free each month with the service.

SMTP Mail Failures to a certain domain

Do the SMTP logs on a server (Windows 2003) only show logs of mail that were sent successfully?
We are getting bounce backs when sending mail to a particular domain:
The connection was dropped by the remote host.
It looks like a problem on the receiving server, but we dont have much information to provide them. We can send to hotmail, gmail, yahoo etc OK.
Any ideas?
Most likely, there is a spam filter in front of the receiving mail server for this domain, and this spam filter thinks your mail server is sending spam, so it's closing the connection from your mail server. One way to test this is to simulate sending a message to this mail server by opening a command prompt on your mail server, and use telnet to connect to the receiving mail server on port 25, and proceed with the process of sending a message just as a mail server would. This way, you'll be able to see how the receiving mail server responds after each step. Follow the instructions in http://support.microsoft.com/kb/153119 to see how this is done.
It turned out the sending server was blacklisted by McAfee, that was running on the receiving servers firewall.
For those that may have the problem in the future you can check if your server is blacklisted with McAfee here:
http://www.mcafee.com/threat-intelligence/ip/spam-senders.aspx
After entering your server IP, you should see a link Threat Feedback. Use this to email McAfee.
I was able to send McAfee an email with an explanation, they then removed our server from the blacklist.

How to send mail notification from jboss server after server down or stopped working?

I want to send mail b Jboss server when server down , stop working or there is any unexpected crash in server
If jboss is down then it can't send email. Because it is down
So you need to monitor it with a different system.
Nagios is a widely open source monitoring system http://www.nagios.org It has a lot of plugins that can be configured to monitor jboss according to your exact business needs

SMTP outbound emails stuck in Queue folder : Windows XP SP3, IIS 5.1

I am using a PHP script for sending emails by IIS 5.1 SMTP.
The emails, go to outbound folder. really path is C:\Inetpub\mailroot\Queue.
after a seconds, it start to send emails properly, but after sending 5 or 6 emails, it stops to send the other ones. SMTP service is still start and it seems there is no problem to SMTP service.
but,If i restart the service, it sends 1 or 2 other emails and then, it stops again.
I mean sending emails stop but service is start.
by the way, emails are stucked in Queue folder.
Also i checked Badmail folder. it is empty
Thanks
are all the emails to the same network? I have seen behaviour like this when the recipient server bans you, yahoo's (xtra) used to do it sometimes to our server in particular. You can check the logs in event viewer for something from the smtp server, you'll find a message from the other server saying something to the effect that you have been temporarily banned, possibly with more detail about why. Trying to connect via telnet also gives you the same message.
When this happens windows will try and send them again later. Restarting the server starts to try sending again and if the ban condition has been lifted messages will flow for a while again until you are rebanned.

SharePoint 2010 VHD outgoing e-mail error

I use the SharePoint 2010 VHD from Microsoft and my e-mail doesn’t seem to work and I’m rather new to SharePoint 2010.
I tried to do the following. In SharePoint Designer I created a Workflow and of the action involved sending an email to the initiator of the workflow.
I received the following error message in my workflow history:
“The email message cannot be sent. Make sure the outgoing e-mail settings for the server are configured correctly.”
In my Central Administration I have the following mail settings:
Outbound SMTP Server: demo2010b.contoso.com
From Adress: administrator#contoso.com
I also started the Exchange Server in Hyper-V but still didn’t work.
I didn’t change anything in the Settings.
Any ideas on how to make it work?
Thanks in advance.
Can you test basic SMTP and network connectivity between the two VMs? Assuming telnet client is installed on demo2010a, try (from demo2010a):
telnet demo2010b.contoso.com 25
or even
ping demo2010b.contoso.com