Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Beginning PHP
Beginning PHP Beginning-level PHP discussions. More advanced coders should post to the Pro PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Beginning PHP section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old September 5th, 2008, 07:14 AM
Authorized User
Join Date: Feb 2008
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
Default Attaching File with Mail using PHP

Hi everyone,

I am doing a concept of sending mail with attachment using PHP.
The problem is user could receive the attachment but the content is blank

For Ex:
If a customer has booked an item in our website,
he will receive an invoice through mail as an attachment (.doc,.rtf).Now the customer could download the file but there is no content(0kb).this happens at random.

I don't know why its happening also where i am struggling.
Can anyone help me out.

Old September 24th, 2008, 05:40 AM
Friend of Wrox
Join Date: Oct 2003
Posts: 479
Thanks: 0
Thanked 3 Times in 3 Posts
Send a message via MSN to surendran Send a message via Yahoo to surendran

check following site
hope it will help

(Anything is Possible)

Similar Threads
Thread Thread Starter Forum Replies Last Post
attaching image file Matthew Dreamweaver (all versions) 3 May 25th, 2007 03:04 AM
Attaching a file using FormMail.cgi djkessler Javascript How-To 2 February 14th, 2007 09:39 AM
attaching the file stored in databse to an eamil kale_tushar ASP.NET 1.0 and 1.1 Professional 1 January 6th, 2005 05:51 AM
Attaching a string to an e-mail woodsaj9019 Classic ASP Basics 2 May 19th, 2004 09:40 AM
MIME Attaching PDF file jer99 Pro PHP 1 August 18th, 2003 02:31 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.