Solved

PHP mail signature

Posted on 2009-06-29
3
610 Views
Last Modified: 2013-12-18
this is prob a real simple solution.. but i can't seem to think of it... i am wanting to add a signature to an email sent from php mail()... and also i want an image in the signature...
0
Comment
Question by:0791882310
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
3 Comments
 
LVL 26

Assisted Solution

by:jar3817
jar3817 earned 100 total points
ID: 24737267
You'll need to send out a mime (html) message for that. Look at this pair package to create the message:

http://pear.php.net/package/Mail_Mime

Then you can use mail() to send it out. Personally I think php's mail() function totally sucks, so I'd also suggest using the pair mail package for sending out that mime message too:

http://pear.php.net/package/Mail
0
 
LVL 110

Accepted Solution

by:
Ray Paseur earned 400 total points
ID: 24737643
The PHPMailer Class can do this, too.
http://phpmailer.codeworxtech.com/
0
 
LVL 6

Author Closing Comment

by:0791882310
ID: 31597960
Thanks guys!.... PHPMailer did the trick.. although Pear would have worked fine
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
To show how to create a transport rule in Exchange 2013. We show this process by using the Exchange Admin Center. Log into Exchange Admin Center.: First we need to log into the Exchange Admin Center. Navigate to the Mail Flow >> Rules tab.:  To cr…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…

718 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question