Adding attachments from recordset - need to specify folder
Using the new MySQLi Send Email. I have successfully added 2 attachments from the entered value section. The problem I have is that I also need to select multiple values from a recordset. I have done this (see code below) however as with the other attachments I need to specify the folder that they are stored in (../clientconf/). I can add it with the entered value attachments but not with the recordset loop
$Email->addAttachment("../clientconf/".($Payments->getColumnVal("ATOLCert")) ."");
$Email->addAttachment("../clientconf/".($Service1->getColumnVal("UploadConf")) ."");
$Email->addAttachmentFromRS("service","UploadConf");