Wrox Programmer Forums
Go Back   Wrox Programmer Forums > PHP/MySQL > Pro PHP
| Search | Today's Posts | Mark Forums Read
Pro PHP Advanced PHP coding discussions. Beginning-level questions will be redirected to the Beginning PHP forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Pro 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 August 18th, 2003, 01:47 PM
Registered User
 
Join Date: Aug 2003
Location: Waukesha, WI, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default MIME Attaching PDF file

in the WROX Professional PHP programming, the authors give wonderful code and examples for sending email utilizing mime.

I need to attach a file in a PDF format. I am having difficulty in determing the correct Content-Type.

In looking through the RFCs 2045-2049 I could only gather that Perhaps I need to use the application/<something>

Could anyone help me out?

Jerry
 
Old August 18th, 2003, 02:31 PM
Friend of Wrox
Points: 2,570, Level: 21
Points: 2,570, Level: 21 Points: 2,570, Level: 21 Points: 2,570, Level: 21
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: San Diego, CA, USA
Posts: 836
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I'm pretty sure it's just Application/PDF.


Take care,

Nik
http://www.bigaction.org/




Similar Threads
Thread Thread Starter Forum Replies Last Post
Attaching File with Mail using PHP sankar2chat Beginning PHP 1 September 24th, 2008 05:40 AM
attaching image file Matthew Dreamweaver (all versions) 3 May 25th, 2007 03:04 AM
How to display .tif file, .pdf file and .jpg file phuong171 ASP.NET 1.0 and 1.1 Basics 1 March 13th, 2007 07:29 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





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