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

                    Disable / Remove link to Product Items in Cart Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?How can I limit products that can be bought / added to cart?Remove item from cartHide “Add to Cart” button if specific products are already in cart“Prettifying” the custom options in cart pageCreate link in cart sidebar to view all added items After limit reachedLink products together in checkout/cartHow to Get product from cart and add it againHide action-edit on cart page if simple productRemoving Cart items - ObserverRemove wishlist items when added to cart

                    Helsingin valtaus Sisällysluettelo Taustaa | Yleistä sotatoimista | Osapuolet | Taistelut Helsingin ympäristössä | Punaisten antautumissuunnitelma | Taistelujen kulku Helsingissä | Valtauksen jälkeen | Tappiot | Muistaminen | Kirjallisuutta | Lähteet | Aiheesta muualla | NavigointivalikkoTeoksen verkkoversioTeoksen verkkoversioGoogle BooksSisällissota Helsingissä päättyi tasan 95 vuotta sittenSaksalaisten ylivoima jyräsi punaisen HelsinginSuomalaiset kuvaavat sotien jälkiä kaupungeissa – katso kuvat ja tarinat tutuilta kulmiltaHelsingin valtaus 90 vuotta sittenSaksalaiset valtasivat HelsinginHyökkäys HelsinkiinHelsingin valtaus 12.–13.4. 1918Saksalaiset käyttivät ihmiskilpiä Helsingin valtauksessa 1918Teoksen verkkoversioTeoksen verkkoversioSaksalaiset hyökkäävät Etelä-SuomeenTaistelut LeppävaarassaSotilaat ja taistelutLeppävaara 1918 huhtikuussa. KapinatarinaHelsingin taistelut 1918Saksalaisten voitonparaati HelsingissäHelsingin valtausta juhlittiinSaksalaisten Helsinki vuonna 1918Helsingin taistelussa kaatuneet valkokaartilaisetHelsinkiin haudatut taisteluissa kaatuneet punaiset12.4.1918 Helsingin valtauksessa saksalaiset apujoukot vapauttavat kaupunginVapaussodan muistomerkkejä Helsingissä ja pääkaupunkiseudullaCrescendo / Vuoden 1918 Kansalaissodan uhrien muistomerkkim

                    Adjektiivitarina Tarinan tekeminen | Esimerkki: ennen | Esimerkki: jälkeen | Navigointivalikko