When sharing with other users, the email notification is sent correctly "Which mean my outgoing SMTP configuration is correct".But, when I assign a task to a user or send an email using a workflow, the email is never sent.
I checked the event logs, nothing is there related to my issue. Just some errors related to the user not having access to the LOGS folder. "Despite the fact that I gave the user full control on the folder".
I also tested my virtual SMTP using PowerShell's "Send-MailMessage" and it works fine.
I tried both the 2010 and 2013 workflow platform. When using 2010, I get a message saying
"The e-mail message cannot be sent. Make sure the outgoing e-mail settings for the server are configured correctly."
When I use the 2013 workflow platform, no error message is shown and the workflow gets completed successfully (without sending the email).
----- EDIT ------
No matter what "From" address I put on the "Outgoing SMTP configuration", the email will always be sent using the email I configured on the virtual SMTP.
The share emails are not sent using the address of the user, the emails are sent using the address on virtual SMTP.
Any help on how to debug this will be appreciated.