I am currently trying to setup workflows in SuiteCRM 7.1 (I had just upgraded from 7.0.2 yesterday).
My workflows always used to send out emails but now they don’t. The workflows perform other tasks such as modifying records but as soon as I ask them to send out emails they stay in a ‘Running’ state. If they are asked to send out emails they will not even modify records.
My ‘Run AOW WorkFlow’ scheduler shows ‘Done’.
My email settings are fine as I receive the test email. (I used to get an authentication error in sugarcrm.log but that’s gone since I set up my email correctly).
All I am getting in my sugarcrm.log are lines similar to this:
04/02/14 08:03:01 [4400][1][FATAL] Job a29d57bb-4a12-8ce9-9411-533bc4e1c7ac (Run AOW WorkFlow) failed in CRON run
My cron job has not changed since it was last working.
I’ve even disabled Security Groups in case that was causing a conflict.
Any assistance would be really helpful as I’ve scoured the web and it seems other related issues don’t seem to have solutions that work for me. (I may be wrong & this might be already fixed!)
Ok it look like it is a bug with sending emails to the related field, to fix open ‘modules/AOW_Actions/actions/actionSendEmail.php’ and change the line around 187 from :-
I just tried to send a reminder email through the ‘Calls’ module and got this error in sugarcrm.log:
04/03/14 06:20:01 [5816][1][FATAL] SugarPHPMailer encountered an error: The following From address failed: saagar.khimasia@a.org
04/03/14 06:20:01 [5816][1][FATAL] Email Reminder: error sending e-mail (method: smtp), (error: The following From address failed: saagar.khimasia@a.org<p>SMTP server error: <saagar.khimasia@a.org>, Authentication does not match this account
</p>
)
And this when I tried to send an invite from the ‘Calls’ module:
04/03/14 06:31:46 [864][1][FATAL] SugarPHPMailer encountered an error: The following From address failed: saagar.khimasia@a.org
04/03/14 06:31:46 [864][1][FATAL] Notifications: error sending e-mail (method: smtp), (error: The following From address failed: saagar.khimasia@a.org<p>SMTP server error: <saagar.khimasia@a.org>, Authentication does not match this account
</p>
)
04/03/14 06:31:46 [864][1][FATAL] SugarPHPMailer encountered an error: Invalid address:
Hello,
I am new in suitecrm and in code. can you please guide me how to create a cron.php file to send email.
or can you please share your cron.php file to send a email and please guide me how to add file in scheduler.
Please help me it’s urgent