Auto email problem

Discussion in 'Troubleshooting' started by thebizcoach, Apr 2, 2011.

  1. thebizcoach

    thebizcoach New Member

    Joined:
    Nov 16, 2009
    Messages:
    10
    I have set up multiple emails to go out based upon my product type. I selected plain text and when my emails are sent they do not hold the format which they were set up with.. amember strings it all together.
    I have an auto email that goes out upon sign up to set up their user name and password, which is also set up as plain text, and that one works fine.
    I am not able to figure this one out!
    Please help!:(
  2. alexander

    alexander Administrator Staff Member

    Joined:
    Jan 8, 2003
    Messages:
    6,279
    What browser you use? How you create templates? I mean do you use any external editor to create templates and then just paste template code into browser textarea input?
    Try to use different editor in this situation.
  3. thebizcoach

    thebizcoach New Member

    Joined:
    Nov 16, 2009
    Messages:
    10
    I didn't use any editor. I was just trying to add text to the plain text "mail_autoresponder" email that is already present in the product. If I want a person to receive certain emails automatically after they purchase my product, I can edit the emails at the bottom of the page. I am selecting an email to go to them same day and then next day and so on....
    The email that goes out using "send_signup_mail" template which is found in global settings works great...
    the email that goes out same day from within the product setting using template "mail_autoresponder" does not have any formatting and runs the text all together! I am guessing something might be wrong with that email template, however, I have not done anything to the template. I will continue to search to try to resolve the issue, but I appreciate any assistance or direction you can offer. I will post if I find the problem!
    Many thanks!
  4. thebizcoach

    thebizcoach New Member

    Joined:
    Nov 16, 2009
    Messages:
    10
    Oh, by the way... I use Firefox exclusively. Can't stand IE anymore.
  5. thebizcoach

    thebizcoach New Member

    Joined:
    Nov 16, 2009
    Messages:
    10
    I have resolved this issue. There was a bit of missing code in the email_templates.php file. I reviewed this file and found that for the mail_autoresponder line it should have added at the end :autoresponder.text
    When I added that to the code, it corrected the missing formatting.

    I am a novice at php, however I find that the easiest way to catch errors is to look for patterns and note when a line of code is not following the pattern. That is usually where the problem is found. This one had me stumped for about two weeks, but finally I was able to locate the problem. Just adding some info in case anyone else comes up against this issue. Always good to make sure you are testing your outgoing emails.
    Hope this helps someone else someday!
  6. thebizcoach

    thebizcoach New Member

    Joined:
    Nov 16, 2009
    Messages:
    10
    Note: the code I added was actually ":autoresponder.txt" without the quotes of course... don't want to lead anyone astray! Remember all you novices (like me) look for the patterns!

Share This Page