Jump to content

Email attachment using mail()


morpheuz

Recommended Posts

Maybe you guys can help me with this, I wrote up a backup database php snippet that I want to merge with a mailing script, but I'm having a hard time tracking down some good docs on what the mime stuff looks like without getting a class involved (I really don't like OOP, and since I'm still kinda new to programming in general, I can't appreciate its benefits). I don't need a mountain of help, just a peek at what the mime stuff is supposed to look like to attach the file.

A quick question, I've read a lot about how it's not a good idea storing backups in root on the server. What is "root"? My guess is that it's the public_html/www dir, but even so I want to be sure so I figured I'd ask.

Thanks.
Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.