• Resolved mredodos

    (@mredodos)


    how uncheck that setting ?

    Force From Email
    Gmail mailer will automatically force From Email to be the email address that you selected above.

    before is not checked after a few last update i cant remove it.

    ho can remove it ?

Viewing 15 replies - 1 through 15 (of 15 total)
  • Plugin Support Darshana

    (@darshanaw)

    Hi @mredodos

    When you’re using a Gmail mailer, all of your site emails will be sent using your authorized Gmail account, even when the ‘From Email’ in WP Mail SMTP settings is something that doesn’t exist.

    Basically, Gmail mailer does not allow you to use custom “From Email”.

    I hope this helps!

    • This reply was modified 4 years, 2 months ago by Darshana.
    Thread Starter mredodos

    (@mredodos)

    in previous versions, i could send messages from all aliases associated with my gsuite account, now i can only choose one in your plugin and this overwrites all sends from other plugins.

    and yes gmail allow custom from mail if in the gmail account is set aliases.

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi @mredodos,

    in order to have those aliases available for selection in our plugin, you might have to add them in your Gmail settings in the “Send mail as” section first.

    More info can be found on this Google doc page: https://support.google.com/mail/answer/22370

    Let me know if that resolved your issue.

    Have a nice day!

    Thread Starter mredodos

    (@mredodos)

    omg….I have already added all the aliases but your plugin forces me to choose only one. before it didn’t. i dont want select only one alias…now you plugin force all the email from that specific alias its not good for me.

    • This reply was modified 4 years, 2 months ago by mredodos.
    Thread Starter mredodos

    (@mredodos)

    @capuderg can help me to remove force from email ? and remove forced aliases selection ?

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi @mredodos,

    sorry for the misunderstanding.

    A lot of gmail/gsuite mailer users had issues because they were using wrong from email addresses that were not authorized to be sending emails from and that caused a lot of confusion. Forcing to use one of the aliases resolved this issue for all of them.

    I know this is not ideal for you, but currently, there is no way to use different gmail aliases on the same WP site. We’ll take a look and try to find a way for advanced users to configure multiple valid aliases as the sending from emails in the future plugin updates.

    Take care!

    Thread Starter mredodos

    (@mredodos)

    I need only remove force option. Can you add some filter or snippet for remove it? Or you can suggest how remove the force option via code? It’s urgent for me I’m working on a project where I need send from multiple aliases.

    When you have aliases verified in Gmail, you don’t need to force. Because you can send email from all that aliases without problem. Force only one cause problem at my end because I need send from different aliases.

    Thread Starter mredodos

    (@mredodos)

    @capuderg the only way for send from multiple aliases is remove forced option and not set the address from.

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi @mredodos,

    currently, there is no easy/correct way to resolve your particular issue (no filters to hook into).

    We’ll look into this for the future plugin update (most probably not the next one, since it’s planned to be released soon).

    If you can’t wait until then, you could edit the code of the plugin (on your own risk). This method in particular: \WPMailSMTP\Processor::filter_mail_from_email. Set the $forced variable to always be false and it should allow other aliases to be set as the from email address.

    If a non-alias email will be used in your WP site as the from email address, the sending email will still default to the authorized email address in our plugin settings.

    Have a nice day!

    Hi,
    I too am interested in having a way to remove the ‘Force From Email’ when Gmail is selected as the mailer. I am in the same situation as @mredodos where I have multiple aliases and want to use different email ids for different purposes (emailing a client, mail from the contact form, etc.)

    I was able to get it to work when I changed the code in Core.php and Processor.php where the option is forced irrespective of other setting, but this solution quickly became untenable as I had to remember to modify the code with every update.

    Just my $0.02 – It would be great if you could please allow the option to be disabled via the ‘define’ route in wp-config.php. Specifically, could you please allow the following define to prevail in the Gmail mailer case:
    define( ‘WPMS_MAIL_FROM_NAME_FORCE’, false );

    Thanks.

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi @mredodos and @vijayanandn,

    we released an update v2.7., which allows you to disable the Force From Email checkbox setting for the Gmail mailer.

    Please update to v2.7. and then uncheck the “Force From Email” setting in the WP Mail SMTP plugin settings.

    The from emails you will use throughout your site still need to be registered in the gmail “send mail as” settings section in order to be used for email sending. If the from email address is not registered in Gmail, the actual from email address used to send the email from your WP site will be the default gmail address that you used to connect with our plugin. More info about this feature can be found in this post.

    Let me know how it goes.

    Have a nice day!

    wp-vijay

    (@vijayanandn)

    Hi @capuderg, thanks a lot for this update. Works flawlessly.

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi @vijayanandn,

    thank you for testing it out! ??

    Have a nice day!

    Thread Starter mredodos

    (@mredodos)

    thx a lot!

    Plugin Author Gregor Capuder

    (@capuderg)

    Hi @mredodos,

    no problem, and thank you for reporting and now testing it!

    Have a nice day!

Viewing 15 replies - 1 through 15 (of 15 total)
  • The topic ‘how to remove FORCE FROM EMAIL’ is closed to new replies.