Good morning, when I schedule a call I receive the following error message it is as if the system sends the email through my own email and not through the system one even if it is not set in the email preferences Users can send as themselves
i have suitecrm 7.14
Has this happened to anyone before?
Fri Jun 14 06:40:44 2024 [12690][1][FATAL] SugarPHPMailer encountered an error: The following From address failed: massimo.capuano.bari@gmail.com : MAIL FROM command failed,massimo.capuano.bari@gmail.com I0c8soqyw9WDgI0c8slvNP - Mittente non consentito / Sender not allowed ( mail from )
,550,5.1.0
Fri Jun 14 06:40:44 2024 [12690][1][FATAL] SugarPHPMailer encountered an error: The following From address failed: massimo.capuano.bari@gmail.com : MAIL FROM command failed,massimo.capuano.bari@gmail.com I0c8soqyw9WDgI0c8slvNP - Mittente non consentito / Sender not allowed ( mail from )
,550,5.1.0SMTP server error: MAIL FROM command failed Detail: massimo.capuano.bari@gmail.com I0c8soqyw9WDgI0c8slvNP - Mittente non consentito / Sender not allowed ( mail from )
SMTP code: 550 Additional SMTP info: 5.1.0
Fri Jun 14 06:40:44 2024 [12690][1][FATAL] SugarPHPMailer encountered an error: The following From address failed: massimo.capuano.bari@gmail.com : MAIL FROM command failed,massimo.capuano.bari@gmail.com I0c8soqyw9WDgI0c8slvNP - Mittente non consentito / Sender not allowed ( mail from )
,550,5.1.0SMTP server error: MAIL FROM command failed Detail: massimo.capuano.bari@gmail.com I0c8soqyw9WDgI0c8slvNP - Mittente non consentito / Sender not allowed ( mail from )
SMTP code: 550 Additional SMTP info: 5.1.0
Fri Jun 14 06:40:44 2024 [12690][1][ERROR] send: PHPMailer Exception: { The following From address failed: massimo.capuano.bari@gmail.com : MAIL FROM command failed,<massimo.capuano.bari@gmail.com> I0c8soqyw9WDgI0c8slvNP - Mittente non consentito / Sender not allowed ( mail from )
,550,5.1.0SMTP server error: MAIL FROM command failed Detail: <massimo.capuano.bari@gmail.com> I0c8soqyw9WDgI0c8slvNP - Mittente non consentito / Sender not allowed ( mail from )
SMTP code: 550 Additional SMTP info: 5.1.0
}
Fri Jun 14 06:40:44 2024 [12690][1][FATAL] Email Reminder: error sending e-mail (method: smtp), (error: The following From address failed: massimo.capuano.bari@gmail.com : MAIL FROM command failed,massimo.capuano.bari@gmail.com I0c8soqyw9WDgI0c8slvNP - Mittente non consentito / Sender not allowed ( mail from )
,550,5.1.0SMTP server error: MAIL FROM command failed Detail: massimo.capuano.bari@gmail.com I0c8soqyw9WDgI0c8slvNP - Mittente non consentito / Sender not allowed ( mail from )
SMTP code: 550 Additional SMTP info: 5.1.0SMTP server error: MAIL FROM command failed Detail: massimo.capuano.bari@gmail.com I0c8soqyw9WDgI0c8slvNP - Mittente non consentito / Sender not allowed ( mail from )
SMTP code: 550 Additional SMTP info: 5.1.0)
Isn’t that Gmail forbidding the “from” address?
Are you trying to send emails with “from: abc@gmail.com” through some “def@gmail.com” account?
No massimo.capuano.bari@gmail.com is the email set in to user profile
the mail route is from crm@openbroker.it from system default mail
So, the email server is telling you that you can’t do that. You can’t send an email from one account and make it look like it came from another.
yes of course it is the provider that rejects the email but crm suite should use the default outgoing email in fact if I send the test email it arrives perfectly
$subject = "Promemoria Chiamata: Lead - ".$module->name. " è programmato per : .." . $call->date_start;
$replace = "Il seguente lead:<b>" .$module->name ."</b><br> è programmato per Il <b>". $call->date_start."</b>";
$body = str_replace("Mytext", $replace , $body);
$emailObj = new Email();
$defaults = $emailObj->getSystemDefaultEmail();
$mail = new SugarPHPMailer();
$mail->setMailerForSystem();
$mail->From = $defaults['email'];
$mail->FromName = $defaults['name'];
$mail->Subject = $subject;
$mail->Body = $body;
$mail->isHTML(true);
$mail->prepForOutbound();
$mail->AddAddress("massimo.capuano.bari@gmail.com");
I wrote a function in scheduler that does what suite should do and so it works, but I can’t understand why the system doesn’t send to other installations it works fine
I’m sorry, I don’t fully understand which email we’re talking about.
Is this a notification that the call is due? The one sent to the user that has the call assigned to him?