Right, managed to get it all working, heres the code for those who are interested:
Aim - Generate a new report, save it to a temporary directory, automatically attach it to an email (by passing the path into email object)
RepQuote quote_rep =
// creates the report
Telerik.Reporting.Processing.ReportProcessor reportProcessor =
RenderingResult result = reportProcessor.RenderReport(
// renders the report as a PDF, stored in variable 'result'
filePath = System.IO.Path.GetTempPath();
full_path = filePath + fileName;
//this is where the PDF will be saved to temporarily
(FileStream fs =
fs.Write(result.DocumentBytes, 0, result.DocumentBytes.Length);
// writes the pdf to disk
be.quotePDFfilepath = full_path;
// passes the path of the pdf to my email object which then uses this info later on
If anyone else happens to stumble across this code and fancies using it, just beware that every time you create a new document using this code, it will overwrite the previous file. It is best to generate a unique filename but for our software our client wanted a specified filename. Luckily we only have 1 user of this section of the system so it wont be an issue for us.