---
title: "attachemnt i mail()"
type: "forum-thread"
url: "https://www.webforum.nu/amne/php/117150-attachemnt-i-mail"
topic: "PHP"
topic_url: "https://www.webforum.nu/amne/php"
author: "The_Hulk"
published: "2004-12-02T00:33:36.000Z"
updated: "2004-12-02T00:47:10.000Z"
replies: 1
views: 175
page: 1
pages: 1
language: "sv-SE"
site: "webForum — webforum.nu"
rights: "Upphovsrätten till varje inlägg tillhör dess författare."
attribution: "Citera som: webForum, https://www.webforum.nu/amne/php/117150-attachemnt-i-mail"
---

# attachemnt i mail()

## #1 — The_Hulk, 2004-12-02T00:33Z

Hur lägger jag till filer till ett epost som skickas med mail()

Permalänk: https://www.webforum.nu/p/117150

## #2 — tydal, 2004-12-02T00:47Z

Du base64-kodar filen. Finns en färdig funktion för det i Php och i manualen finns kodexempel:
<http://se.php.net/manual/en/function.base64-encode.php>

Permalänk: https://www.webforum.nu/p/1498315

---

Tråden på webben: https://www.webforum.nu/amne/php/117150-attachemnt-i-mail
