How to Get email template in dynamically choose format(For example Html Or Text) using Magento 2? Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How can I combine a new email-template with second contact form for revocation?Magento 2 - assign custom email template to specific payment methodGet customer email without sessionsHow to send email through programetically in magento 2.0?Magento 2: Send different email templates for Ship, based on Shipping Method chosenMagento 2 - Get Custom Options Price in Transactional EmailI want to send different email with different manage to Customer and Admin as per payment method. [ Magento 1.9 ]Get custom HTML variable from email templateMagento 2.2.5: Email Template Order AdminGet option selected image for conformation email attached

How to play a character with a disability or mental disorder without being offensive?

How would a mousetrap for use in space work?

What is the topology associated with the algebras for the ultrafilter monad?

Why is Nikon 1.4g better when Nikon 1.8g is sharper?

Is grep documentation about ignoring case wrong, since it doesn't ignore case in filenames?

A term for a woman complaining about things/begging in a cute/childish way

How to react to hostile behavior from a senior developer?

Why does it sometimes sound good to play a grace note as a lead in to a note in a melody?

What would you call this weird metallic apparatus that allows you to lift people?

Performance gap between vector<bool> and array

Maximum summed subsequences with non-adjacent items

An adverb for when you're not exaggerating

How much damage would a cupful of neutron star matter do to the Earth?

Trademark violation for app?

What are the diatonic extended chords of C major?

Selecting user stories during sprint planning

Has negative voting ever been officially implemented in elections, or seriously proposed, or even studied?

Can anything be seen from the center of the Boötes void? How dark would it be?

Central Vacuuming: Is it worth it, and how does it compare to normal vacuuming?

Why weren't discrete x86 CPUs ever used in game hardware?

AppleTVs create a chatty alternate WiFi network

How does light 'choose' between wave and particle behaviour?

What's the meaning of "fortified infraction restraint"?

How to install press fit bottom bracket into new frame



How to Get email template in dynamically choose format(For example Html Or Text) using Magento 2?



Planned maintenance scheduled April 23, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?How can I combine a new email-template with second contact form for revocation?Magento 2 - assign custom email template to specific payment methodGet customer email without sessionsHow to send email through programetically in magento 2.0?Magento 2: Send different email templates for Ship, based on Shipping Method chosenMagento 2 - Get Custom Options Price in Transactional EmailI want to send different email with different manage to Customer and Admin as per payment method. [ Magento 1.9 ]Get custom HTML variable from email templateMagento 2.2.5: Email Template Order AdminGet option selected image for conformation email attached



.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








1















I need to get email template in dynamically choose format(For example Html Or Text) while customer orders anything in Magento 2.



For Example:
Customer account has one option, which Email template format you want for Html or text. After Customer order, something in my site then, send email to customer account what format he chose.



How to achieve this solution? send me a suggestion to do this?



Thanks










share|improve this question
















bumped to the homepage by Community 19 mins ago


This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.





















    1















    I need to get email template in dynamically choose format(For example Html Or Text) while customer orders anything in Magento 2.



    For Example:
    Customer account has one option, which Email template format you want for Html or text. After Customer order, something in my site then, send email to customer account what format he chose.



    How to achieve this solution? send me a suggestion to do this?



    Thanks










    share|improve this question
















    bumped to the homepage by Community 19 mins ago


    This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.

















      1












      1








      1








      I need to get email template in dynamically choose format(For example Html Or Text) while customer orders anything in Magento 2.



      For Example:
      Customer account has one option, which Email template format you want for Html or text. After Customer order, something in my site then, send email to customer account what format he chose.



      How to achieve this solution? send me a suggestion to do this?



      Thanks










      share|improve this question
















      I need to get email template in dynamically choose format(For example Html Or Text) while customer orders anything in Magento 2.



      For Example:
      Customer account has one option, which Email template format you want for Html or text. After Customer order, something in my site then, send email to customer account what format he chose.



      How to achieve this solution? send me a suggestion to do this?



      Thanks







      magento2 php email html






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Mar 15 at 23:02









      magefms

      2,7702528




      2,7702528










      asked Apr 16 '16 at 11:49









      Rajkumar .ERajkumar .E

      1,74551645




      1,74551645





      bumped to the homepage by Community 19 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.







      bumped to the homepage by Community 19 mins ago


      This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.






















          1 Answer
          1






          active

          oldest

          votes


















          0














          There is two methods to create email template as well magento 1x.



          1. Create your own html and place in email template.

          2. Generate email template based on default template.

          Also you can write inline css or external style as given in magento.



          you can find email header and footer and css files files form the following path and override in your theme.



          magentovendormagentomodule-emailviewfrontendheader.phtml
          magentovendormagentomodule-emailviewfrontendfooter.phtml

          magentovendormagentotheme-frontend-blankwebcssemail.less
          magentovendormagentotheme-frontend-blankwebcssemail-inline.less
          magentovendormagentotheme-frontend-blankwebcssemail-fonts.less





          share|improve this answer

























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "479"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f111165%2fhow-to-get-email-template-in-dynamically-choose-formatfor-example-html-or-text%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            There is two methods to create email template as well magento 1x.



            1. Create your own html and place in email template.

            2. Generate email template based on default template.

            Also you can write inline css or external style as given in magento.



            you can find email header and footer and css files files form the following path and override in your theme.



            magentovendormagentomodule-emailviewfrontendheader.phtml
            magentovendormagentomodule-emailviewfrontendfooter.phtml

            magentovendormagentotheme-frontend-blankwebcssemail.less
            magentovendormagentotheme-frontend-blankwebcssemail-inline.less
            magentovendormagentotheme-frontend-blankwebcssemail-fonts.less





            share|improve this answer





























              0














              There is two methods to create email template as well magento 1x.



              1. Create your own html and place in email template.

              2. Generate email template based on default template.

              Also you can write inline css or external style as given in magento.



              you can find email header and footer and css files files form the following path and override in your theme.



              magentovendormagentomodule-emailviewfrontendheader.phtml
              magentovendormagentomodule-emailviewfrontendfooter.phtml

              magentovendormagentotheme-frontend-blankwebcssemail.less
              magentovendormagentotheme-frontend-blankwebcssemail-inline.less
              magentovendormagentotheme-frontend-blankwebcssemail-fonts.less





              share|improve this answer



























                0












                0








                0







                There is two methods to create email template as well magento 1x.



                1. Create your own html and place in email template.

                2. Generate email template based on default template.

                Also you can write inline css or external style as given in magento.



                you can find email header and footer and css files files form the following path and override in your theme.



                magentovendormagentomodule-emailviewfrontendheader.phtml
                magentovendormagentomodule-emailviewfrontendfooter.phtml

                magentovendormagentotheme-frontend-blankwebcssemail.less
                magentovendormagentotheme-frontend-blankwebcssemail-inline.less
                magentovendormagentotheme-frontend-blankwebcssemail-fonts.less





                share|improve this answer















                There is two methods to create email template as well magento 1x.



                1. Create your own html and place in email template.

                2. Generate email template based on default template.

                Also you can write inline css or external style as given in magento.



                you can find email header and footer and css files files form the following path and override in your theme.



                magentovendormagentomodule-emailviewfrontendheader.phtml
                magentovendormagentomodule-emailviewfrontendfooter.phtml

                magentovendormagentotheme-frontend-blankwebcssemail.less
                magentovendormagentotheme-frontend-blankwebcssemail-inline.less
                magentovendormagentotheme-frontend-blankwebcssemail-fonts.less






                share|improve this answer














                share|improve this answer



                share|improve this answer








                edited Aug 11 '16 at 11:09









                7ochem

                5,85493769




                5,85493769










                answered Aug 11 '16 at 10:46









                SuryakantSuryakant

                566




                566



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f111165%2fhow-to-get-email-template-in-dynamically-choose-formatfor-example-html-or-text%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Can not update quote_id field of “quote_item” table magento 2Magento 2.1 - We can't remove the item. (Shopping Cart doesnt allow us to remove items before becomes empty)Add value for custom quote item attribute using REST apiREST API endpoint v1/carts/cartId/items always returns error messageCorrect way to save entries to databaseHow to remove all associated quote objects of a customer completelyMagento 2 - Save value from custom input field to quote_itemGet quote_item data using quote id and product id filter in Magento 2How to set additional data to quote_item table from controller in Magento 2?What is the purpose of additional_data column in quote_item table in magento2Set Custom Price to Quote item magento2 from controller

                    Magento 2 disable Secret Key on URL's from terminal The Next CEO of Stack OverflowMagento 2 Shortcut/GUI tool to perform commandline tasks for windowsIn menu add configuration linkMagento oAuth : Generating access token and access secretMagento 2 security key issue in Third-Party API redirect URIPublic actions in admin controllersHow to Disable Cache in Custom WidgetURL Key not changing in Magento 2Product URL Key gets deleted when importing custom options - Magento 2Problem with reindex terminalMagento 2 - bin/magento Commands not working in Cpanel Terminal

                    Aasi (pallopeli) Navigointivalikko