'WP Mail SMTP by WPForms > Facing issue with Two different from email address while sending an email in WordPress

Currently, I am using WP Mail SMTP by WPForms plugin and configuring SMTP settings.

I have set the default 'from' email address in plugin settings, and want to implement one more 'from' email address at code level conditionally. I already set it.

My issue is that: from the default email address when I try to send an email then I am receiving an email in my inbox but the same thing from a conditional email address I received an email in Spam. so I am not getting an issue with why I am receiving emails in Spam?

Anyone help me to fix this issue.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source