Jump to content

Recommended Posts

Posted

I am working on a PHP mailer program, and everything on a normal email works fine.

I cannot figure out how to make an attachment link to the email. Has anyone used the PHP mail command with attachments?

Rock Sign

Posted

You may want to have a look here codewalkers.com/seecode/98.html, or here codewalkers.com/seecode/231.html.

 

I have not done this myself but googling the term "php scripts attach email" seems to bring up a number of options.

 

There may be others here that have done this.

Posted

Thumbs Up

 

Thanks Rob, I think that will do it.

 

I will incorporate that extra code into the mail program, and change the names a little to match the names used in the HTML Form, and I think it will work Great.. I have been programming in PHP for a while now, but I had never figured out a solution to the problem. I was thinking I was going to have to write a little "c" code to create a function, but I figured if I asked, someone else had already seen it done. I like the Codewalkers website, as it is full of PHP tips and tricks.

 

Again, Thank you.

Rock Sign

Join the conversation

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

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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...