I require a :".$phoneSystem. "
I need this because :".$businessType. "
Company Sizet :".$handset. "
No. of lines :".$lines. "
Requirements :".$splrequirements. "
I'm interested in :".$interest; $querystr="Insert into equote(domain,name,company,industry,position,phone,email,state,quote_date,requirements,keyword) values('Avaya','". $name."','".$company."','".$industry."','".$position."','".$phone."','".$email."','".$state."','".date("Y-m-d H:i")."','".htmlspecialchars(addslashes($requirements))."','". $keyword."')"; $result = mysql_query($querystr); /* if($industry != ""){ $query = "SELECT * FROM industries WHERE industry_name='$industry'"; $query_result = mysql_query($query); $row = mysql_fetch_array($query_result,MYSQL_ASSOC); if(count($row) != 0){ $casestudy=$row['attachment']; $emailcontent=$row['email_content']; }else{ $casestudy=""; $emailcontent=""; } } */ $message = new Swift_Message("E-quote from Avaya"); //Create the message $message->attach(new Swift_Message_Part($HTMLMessage)); //Now check if Swift actually sends it $swift->send($message, "sales@itelecom.com.au", new Swift_Address("info@avaya-phones.com.au", 'Avaya Phones Admin')); $swift->send($message, "leads@itelecom.com.au", new Swift_Address("info@avaya-phones.com.au", 'Avaya Phones Admin')); /* if($handset == "") $options="phone system division"; if($handset == "Micro" || $handset == "Small") $options="small business division"; if($handset == "Medium") $options="medium business division"; if($handset == "Corporate") $options="corporate division"; $customer_message="". "Hi ".$name.",

Thanks for your enquiry. I have passed your details onto our ".$options.", and one of our senior consultants will be in touch within 24 hours so we can prepare a tailored quote, make everything as easy as possible and ensure you get the free bonuses on offer this month.

I have also attached a 'Phone System Buyers Guide' that many of our clients have found helpful when comparing quotes and identifying the required features. It covers a few of the main things to look out for such as;

The difference between 'Music on Hold' and 'Messages On Hold'
The dangers of 'bundling your phone system with phone calls'
The most popular phone system features
Why maintenance programs are not always worth the investment

I hope it helps, and thanks again for choosing Infiniti. If you have any questions, or would like to talk to one of our team straight away, please contact our offices of 1800 850 214 and we can answer any question you may have.

"; if($emailcontent != "") $customer_message .= $emailcontent; $customer_message .= "

Regards,

Pete Williams



Pete Williams

T - 1800 850 214

F - 1300 736 763

E - pete@itelecom.com.au




www.itelecom.com.au
© Copyright protected Infiniti Telecommunications Pty Ltd 2008

Disclaimer
The information transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. Any review, retransmission, dissemination or other use of, or taking of any action in reliance upon, this information by persons or entities other than the intended recipient is prohibited. Any opinions expressed in this email are those of the individual and not necessarily the Company. If you receive this transmission in error, please email this to info@itelecom.com.au. Please then delete this email and destroy any copies of it. "; //Add Subject $message = new Swift_Message("Thanks For Your Enquiry"); //Create the message $message->attach(new Swift_Message_Part($customer_message, "text/html")); $message->attach(new Swift_Message_Attachment(file_get_contents("http://www.infinititelecommunications.com.au/brochures/FreeBuyersGuide.pdf"), "FreeBuyersGuide.pdf", "application/pdf")); //ATTACH CASE STUDY PDF TO THE EMAIL if($casestudy != ""){ $casestudypdf="http://www.infinititelecommunications.com.au/brochures/".$casestudy; $message->attach(new Swift_Message_Attachment(file_get_contents($casestudypdf), $casestudy , "application/pdf")); } //Now check if Swift actually sends it $swift->send($message,$email, new Swift_Address("pete@itelecom.com.au", 'Pete Williams')); */ $sent=true; } ?>