phpScheduleIt
May 25, 2013, 08:41:07 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: phpScheduleIt 2.4.2 has been released!
 
   Home   Help Login Register  
Pages: [1]
  Print  
Author Topic: Attaching different files for different equipment  (Read 1248 times)
mastermind1
Newbie
*

Karma: 0
Posts: 2


« on: February 23, 2009, 05:09:03 PM »

Hello,

I want to attach a different word document to the confirmation e-mail for each equipment that was reserved. I know that I could attach the same file using

$mailer->AddAttachment('full system path to the 1st attachment', 'attachment1 name');

to the Reservation.class.php

but how can I attach different files for different equipment?

Thank you
Logged
gerg
Newbie
*

Karma: 0
Posts: 24


« Reply #1 on: February 24, 2009, 08:46:44 AM »

I would approach this by setting a condition based on the resource ID.
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2006-2007, Simple Machines Valid XHTML 1.0! Valid CSS!