Jump to content
  • 0

Change 'from Email' In Email Templates In Bulk


axiom

Question

Hello all,

 

We are now trialing blesta and are so far very happy with it.

 

Can anyone suggest an easy easy way to change the domain part in the 'From Email' address in all Email templates in bulk, instead of changing the email templates manually?

 

In my case, all email from addresses are: @billing.company.com

 

and wish to change them all to: @company.com

 

Thank you.

Link to comment
Share on other sites

7 answers to this question

Recommended Posts

  • 0

 

You should update those queries to encapsulate the values in quotes, otherwise running them will generate a syntax error.

UPDATE `emails` SET `from`='billing@domain.com' WHERE `from`='billing@subdomain.domain.com';
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...