Solved

PHP mail signature

Posted on 2009-06-29
3
602 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
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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

Question has a verified solution.

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

Suggested Solutions

Since pre-biblical times, humans have sought ways to keep secrets, and share the secrets selectively.  This article explores the ways PHP can be used to hide and encrypt information.
Many old projects have bad code, but the budget doesn't exist to rewrite the codebase. You can update this code to be safer by introducing contemporary input validation, sanitation, and safer database queries.
In this Micro Video tutorial you will learn the basics about Database Availability Groups and How to configure one using a live Exchange Server Environment. The video tutorial explains the basics of the Exchange server Database Availability grou…
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

763 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