Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 3 of 3
  1. #1
    Junior Member
    Join Date
    Jul 2005
    Posts
    16
    Member #
    10500
    Hi all.
    Not really sure which forum to have posted this in, but here goes:
    I have a PHP auto response to a form.
    The a/r message in PHP file is:

    $autoresponder_message = <<<MSG
    Hi %name_from%,

    Thank you for subscribing.We will keep you upadted.
    Kind regards,

    MSG;


    Now, when I send the mail to myself, it is in simple Times font.
    How would I apply font tags to this message? So that they will display in our company's font (Arial) and colours?


    thanks in advance.
    D

  2.  

  3. #2
    Senior Member
    Join Date
    May 2003
    Location
    UK
    Posts
    2,354
    Member #
    1326
    Without seeing your code, I cannot give you a fully correct solution.

    However, assuming that the only variable you include in the email's body is $autoresponder_message, then:
    PHP Code:
    $autoresponder_message "<p style=\"font-family: Arial; color: color_goes_here;\">the message you wish to send</p>"

  4. #3
    Senior Member Fallout's Avatar
    Join Date
    Aug 2003
    Location
    Richmond, Virginia
    Posts
    543
    Member #
    2748
    Be sure the email is formatted for HTML and not just plain text, or else your users will see the formatting code.


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 04:59 PM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com