[Solved] Send xls via email attachment using PHP

Get help on web editors (Frontpage, Dreamweaver) and web languages (HTML, ASP, PHP).
Post Reply
DarkRanger
Registered User
Posts: 8346
Joined: 10 May 2006, 02:00
Processor: Intel i5-3750
Motherboard: Gigabyte
Graphics card: nVidia GTX 550Ti
Memory: 8GB Jetram
Contact:

[Solved] Send xls via email attachment using PHP

Post by DarkRanger »

is there a way to send an email with an excel sheet as attachment?

The excel sheet is saved on the server, so all I need the mailer to do is generate the body, attach the mail and send it to the recipients.

Any help?
Last edited by DarkRanger on 19 Jan 2011, 08:51, edited 1 time in total.
Image
Bladerunner
Registered User
Posts: 14338
Joined: 04 Sep 2004, 02:00
Processor: i386DX Sooper
Motherboard: A blue one
Graphics card: A red one
Memory: Hard drive
Location: On a Möbius strip
Contact:

Re: Send xls via email attachment using PHP

Post by Bladerunner »

DarkRanger wrote:is there a way to send an email with an excel sheet as attachment?

The excel sheet is saved on the server, so all I need the mailer to do is generate the body, attach the mail and send it to the recipients.

Any help?
http://tinyurl.com/2e4p3ot
If I weren't insane: I couldn't be so brilliant! - The Joker
DarkRanger
Registered User
Posts: 8346
Joined: 10 May 2006, 02:00
Processor: Intel i5-3750
Motherboard: Gigabyte
Graphics card: nVidia GTX 550Ti
Memory: 8GB Jetram
Contact:

Re: Send xls via email attachment using PHP

Post by DarkRanger »

Bladerunner wrote:
DarkRanger wrote:is there a way to send an email with an excel sheet as attachment?

The excel sheet is saved on the server, so all I need the mailer to do is generate the body, attach the mail and send it to the recipients.

Any help?
http://tinyurl.com/2e4p3ot
Awwww oulik!!!

Ek google altyd voor ek vra blade.

Maar dankie anyway.
Image
Bladerunner
Registered User
Posts: 14338
Joined: 04 Sep 2004, 02:00
Processor: i386DX Sooper
Motherboard: A blue one
Graphics card: A red one
Memory: Hard drive
Location: On a Möbius strip
Contact:

Re: Send xls via email attachment using PHP

Post by Bladerunner »

En het dit dan nie gewerk nie? Die kode is dan so mooi uitgespel :|
If I weren't insane: I couldn't be so brilliant! - The Joker
DarkRanger
Registered User
Posts: 8346
Joined: 10 May 2006, 02:00
Processor: Intel i5-3750
Motherboard: Gigabyte
Graphics card: nVidia GTX 550Ti
Memory: 8GB Jetram
Contact:

Re: Send xls via email attachment using PHP

Post by DarkRanger »

Bladerunner wrote:En het dit dan nie gewerk nie? Die kode is dan so mooi uitgespel :|
Ek weet nie wat ek doen nie, maar dit attach nie die excel code nie... SUG
Image
Bladerunner
Registered User
Posts: 14338
Joined: 04 Sep 2004, 02:00
Processor: i386DX Sooper
Motherboard: A blue one
Graphics card: A red one
Memory: Hard drive
Location: On a Möbius strip
Contact:

Re: Send xls via email attachment using PHP

Post by Bladerunner »

Dit klink vir my soos 'n PEBCAK error.
If I weren't insane: I couldn't be so brilliant! - The Joker
DarkRanger
Registered User
Posts: 8346
Joined: 10 May 2006, 02:00
Processor: Intel i5-3750
Motherboard: Gigabyte
Graphics card: nVidia GTX 550Ti
Memory: 8GB Jetram
Contact:

Re: Send xls via email attachment using PHP

Post by DarkRanger »

I never updated this... The solution is kind of complex, but should someone want the solution, PM me and I'll gladly help you out.
Image
Post Reply