Quantcast
Channel: ASPRunner forums
Viewing all articles
Browse latest Browse all 2586

Help with attachments in Runner_mail

$
0
0
Dear, I need your help with the path of runner_mail.
First of all I explain that the application works in the Desktop environment (Desktop App) within a LAN.



In the Product list page I have linked Invoice data with its corresponding PDF and XML file. Clicking on these links opens the corresponding file that is stored on a network disk (My cloud).

I have added a button that sends me an email or several according to the check box with the function Runner mail.

The emails are sent correctly.

The problem is when I want to add PDFs and XML as attachments.

Quote

// Attachments
$pdffile = 'ftp://192.168.0.106/Appweb/pdf/'.$data["RPDF"];
$xmlfile = 'ftp://192.168.0.106/Appweb/xml/'.$data["RXML"];
$attachments = array();
$attachments = array(
array('path' => getabspath($pdffile)),
array('path' => getabspath($xmlfile))
);
// end




I have problems with the path of the file that does not locate it ....

Thank you very much for your help

(Google translator)

Viewing all articles
Browse latest Browse all 2586

Trending Articles