Way to style email blast - expired notification, ect

Discussion in 'GeoCraft WordPress Theme' started by kentoliver, Sep 12, 2013.

Thread Status:
Not open for further replies.
  1. kentoliver

    kentoliver Active Member

    Joined:
    Jan 3, 2013
    Messages:
    238
    Likes Received:
    41
    Hey there,
    I was wondering if anyone knows a way to style the email alert blast. I know the message is located here:
    library/controls/listing_expiry.php

    Anyone know of a way to custmize / add images to this process?
     
  2. kentoliver

    kentoliver Active Member

    Joined:
    Jan 3, 2013
    Messages:
    238
    Likes Received:
    41
    Hey wondering if the team knows an answer to this problem?

    I tried to echo some html except the div's that I entered got echoed as text and not html.

    Just trying to add a image header and footer with my logo and company information. That way the email looks a little more customized and tailored to the company.

    All the best,
    -Kent
     
  3. Nitesh

    Nitesh Support Staff

    Joined:
    Oct 19, 2012
    Messages:
    5,165
    Likes Received:
    160
    Hello Kent,

    For html you can add code given below in the mail function.

    Code:
     $headers = 'MIME-Version: 1.0' . "\r\n";
                $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";
    Check image for reference.

    htmlin_mail.png

    Note: Also add dot (.) after "$headers" at line number 72.



    Hope it will help you.
     
    kentoliver likes this.
  4. kentoliver

    kentoliver Active Member

    Joined:
    Jan 3, 2013
    Messages:
    238
    Likes Received:
    41
    Thanks so much Nitesh.

    -Kent
     
Thread Status:
Not open for further replies.

Share This Page