2025

4 thoughts on “Tutorial Article How to send an attachment in an email using PHP- (PHP Send Email with Attachment)

  1. Spent my time to read all the comments, but I really loved the post UncleCode.Com – Technology Blog | PHP – Script / Code on how to send an attachment in an email using PHP, PHP Send Email with Attachment, Sending attachment with an email using PHP . It proved to be very helpful to me and I am positive to all the commenters right here! I will get your feed, please keep on posting!

  2. Hi Donald,

    (Your question is a bit out of context with the article, but, I am happy to answer it)

    We use the combination of three things to keep spammers away form sending spam emails-

    1. Use Javascript to validate the form. As this is client side scripting language, its every fast to let users know that need to fill in correct values.

    2. Use PHP to validate the form values again to make sure user has filled in correct values.

    3. Imp. use Captcha to keep spammers/auto spammers away from the form. Below are the following Url’s to get you started-

    http://captchas.net/

    http://en.wikipedia.org/wiki/CAPTCHA

    http://www.google.com/recaptcha/captcha

  3. Do you use php or javascript on contact us web pages to keep website scrapers from sending spam email?

Comments are closed.