• Resolved jschmidtsbss

    (@jschmidtsbss)


    I am trying to use this plugin on http://www.mytestsite2.info. When I send a link to a page the email contains the page source code rather than a properly formatted HTML email. Can you help me understand why? I did try a different them but yielded the same results. Below is part of the email received

    Hi jim,
    Your friend, Arnold, has recommended this article entitled ‘Home’ to you.
    Here is his/her remark:
    Switched to HTML
    Home
    Posted By jschmidt On 2016-04-13 (7:11:11 PM) In
    [et_pb_section admin_label=”Section” fullwidth=”off” specialty=”off” transparent_background=”on” background_color=”#ffffff” allow_player_pause=”off” inner_shadow=”off” parallax=”off” parallax_method=”off” padding_mobile=”off” make_fullwidth=”off” use_custom_width=”off” width_unit=”on” make_equal=”off” use_custom_gutter=”off”][et_pb_row admin_label=”Row”][et_pb_column type=”1_3″][et_pb_image admin_label=”Image” src=”http://www.mytestsite2.info/wp-content/uploads/2016/04/VCFCLogo_d.png” show_in_lightbox=”off” url_new_window=”off” use_overlay=”off” animation=”off” sticky=”off” align=”right” force_fullwidth=”off” always_center_on_mobile=”on” use_border_color=”off” border_color=”#ffffff” border_style=”solid”] [/et_pb_image][/et_pb_column][et_pb_column type=”2_3″][et_pb_text admin_label=”Text” background_layout=”light” text_orientation=”left” use_border_color=”off” border_color=”#ffffff” border_style=”solid”]
    Changing People’s Lives . . . One Soul At A Time
    Church not as it usually is but as it usually should be

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Lester Chan

    (@gamerz)

    I am guessing it is something to do with the shortcode plugin that you are using. It seems it is not being hook on the_content filter and hence that happens.

    Thread Starter jschmidtsbss

    (@jschmidtsbss)

    Thank you Lester for your reply.Can you explain a bit more what you are thinking? I don’t have a shortcode plugin on this site.

    Thread Starter jschmidtsbss

    (@jschmidtsbss)

    Hi Lester. I just discovered that the issue was if in the Email Body you included %EMAIL_POST_CONTENT% this is what caused the issue. If I pull that out then I am fine but unfortunately no content is displayed which I would greatly prefer. What would cause that and how can I resolve it?

    Plugin Author Lester Chan

    (@gamerz)

    That is the email template variable for displaying your content. It will be replaced at the code level with the actual content. See https://github.com/lesterchan/wp-email/blob/master/wp-email.php#L396-L421

    I don’t have a solution for you unfortuntely because my gut feeling is that the plugin you are using for the shortcode hooks on something else that is missing from the plugin. Since I don’t use that plugin myself, I can’t advice you on it. I would recommend you asking that theme/plugin author instead to see what is missing than maybe I can add it in this plugin.

    • This reply was modified 9 years, 6 months ago by Lester Chan.
    Thread Starter jschmidtsbss

    (@jschmidtsbss)

    What plugin for shortcode hooks are you referring to? I do not see such a plugin. I would be glad to pursue that with that author if I can find out which plugin you are referring to.

    Plugin Author Lester Chan

    (@gamerz)

    [et_pb_section admin_label] is a shortcode used. Perhaps u can check where that is coming from?

    Thread Starter jschmidtsbss

    (@jschmidtsbss)

    That is actually part of the Divi theme that I am using.

    Plugin Author Lester Chan

    (@gamerz)

    Maybe the theme has something custom to parsed it at a template level and that something custom is not in this plugin. Since I don’t use that theme, I can’t really help you with it. You might want to contact the theme author to see if they can help or hire a freelance dev to debug the code for you =)

    • This reply was modified 9 years, 6 months ago by Lester Chan.
Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Sends the Email in page source code’ is closed to new replies.