I configured outgoing mail server to Microsoft Exchange, port 465 SSL.
Sending email is okay if recipient is sample@domain.com. But we cannot send an email if recipient address is gmail or yahoo and the like.
Could i be missing a configuration?
I configured outgoing mail server to Microsoft Exchange, port 465 SSL.
Sending email is okay if recipient is sample@domain.com. But we cannot send an email if recipient address is gmail or yahoo and the like.
Could i be missing a configuration?
What do you mean “can’t send”? You get a returned mail?
Are you sure you mean you can’t send when the recipient is Gmail, or is it when you configure a Gmail account to send from?
Cannot send meaning it returns an error: “Error Sending Email. Please contact your administrator for assistance.”
Email settings is configured using our company exchange server. We can send email to recipients with company domain (e.g rinoa@mycompany.com) but not to other email addresses (e.g. rinoa@gmail.com).
There’s an SMTP debug procedure here
Warning: don’t post the output from those logs here, it contains your password. At least obfuscate first.
From Exchange Server perspective, Exchange will secure communication over any port, but will not use SSL. It uses TLS. The key to remember is the difference between how SSL encryption work with SSL, the secure connection is negotiated first, then the rest of conversation starts. The initial connection is in clear text and we start the secure connection with the STARTTLS command.
Hi pgr,
I performed a test email and i encounter this error: SMTP Error: The following recipients failed: test123@gmail.com: Unable to relay
Thank you for taking the time to check. appreciate it a lot.
rinoa is that a return from my debug script?
Have you searched in Google for similar cases, “can’t relay”? These are SMTP server errors, most likely not related to SuiteCRM.
hi pgr, your are correct. had a wrong setup for smtp and got it correctly now.
everythnig seems ok now. Tests were successful when sending an email internal and external.
BUT, when I try to send an email from Email > Compose Email, it returns an error: "Error Sending Email. “Please contact your administrator for assistance”. I noticed that the “From” field is empty.
Am I missing again setting here? TIA!
Okay, managed to have the From fleld working now.
BUT…When I try to compose an email, from the compose screen I still get this error: Error Sending Email. Please contact your administrator for assistance.
and I get this message in my suitecrm.log file:
[SECURITY] User x attempted to send an email using incorrect email account settings in which they do not have access to.
Email settings allows me to send a test email correctly which implies it works however whenever I try to compose new email I get the contact administrator error message.
There were bugs recently fixed regarding this. You haven’t told me your version of SuiteCRM…?
It’s version 7.9.5-0.
I would definitely recommend upgrading to 7.9.9, there are many bugfixes and several of them are similar to what you’re experiencing.
As always, have a complete backup ready before attempting the upgrade.
hi pgr, managed to fix it somehow. added a personal mailbox and and it worked!
again, thanks so much for taking the time.