SitePoint Sponsor

User Tag List

Results 1 to 4 of 4
  1. #1
    SitePoint Member
    Join Date
    Mar 2013
    Location
    Chennai, India
    Posts
    18
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    PHP Mail Function

    What type of headers have to be added in the mail function to attach a file?

  2. #2
    Hosting Team Leader silver trophybronze trophy
    cpradio's Avatar
    Join Date
    Jun 2002
    Location
    Ohio
    Posts
    4,813
    Mentioned
    141 Post(s)
    Tagged
    0 Thread(s)
    A lot. And unless you want to properly learn them, I'd strongly suggest using a third party script like PHPMailer.
    Be sure to congratulate xMog on earning April's Member of the Month
    Go ahead and blame me, I still won't lose any sleep over it
    My Blog | My Technical Notes

  3. #3
    SitePoint Addict bronze trophy
    Join Date
    Apr 2013
    Location
    Ithaca
    Posts
    338
    Mentioned
    6 Post(s)
    Tagged
    1 Thread(s)
    I wouldnt use PHP's built-in mail function since its kinda primitive and wont really handle complex email requests. Look for email libraries from PEAR may be your best shot to find a solution to your problem.

  4. #4
    SitePoint Member Jennifer9's Avatar
    Join Date
    Sep 2013
    Location
    Houston, Texas.
    Posts
    1
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I used PHPMailer, and I think it is very easy and most reliable to use.

    You just try and check.

    Jennifer
    Last edited by Force Flow; Oct 1, 2013 at 09:16. Reason: removed formatting


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •