I recently found a tutorial online on SMTP authentification for sending emails from webpages, here is the tutorial here...
http://email.about.com/od/emailprogrammingtips/qt/PHP_Email_SMTP_Authentication.htm
here is the webpage I'm utilizing it on...
http://www.adobedayevents.com/project_request/project_request.php
i'm not getting an error about the SMTP server anymore, but rather an even weirder one...
Fatal error: Class 'Mail' not found in D:WebRootDomainsadobedayevents.comwwwrootproject_requestsend_request_2.php on line 51
line 51 is this...
Code: $smtp = Mail::factory('smtp',
which is a part of this code block...
Code: $headers = array ('From' => $from,
'To' => $to,
'Subject' => $subject);
$smtp = Mail::factory('smtp',
array ('host' => $host,
'auth' => true,
'username' => $username,
'password' => $password));
Can anybody tell me why on earth 'Mail' isn't a class? I know someone else who used this script for there website and it is working fine with that Mail::factory chunk in it. Anyone have a clue why it won't work on mine? Server setting? configuration??
I apologise! It's a newbie to PHP feedback form problem!
Hi,I am a total newbie to PHP. I am also a unemployed and need to get a job. So after 100% rejection rate for job applications since last November, I have built me a little 'self-marketing' site with
Month String to Numeric?
Hi guys,Given a month as a string, is there a simple way to find the numeric representation of said month?I've used a switch statement but I'm wondring if there is a more elegant way of doing
Image DPI
Hi.I allow users to upload images, the user then is able to adjust several settings for the image:- Image quality (10 - 100)- watermark position(s) (top left/right, middle, bottom left/right)when the
unoconv doc convert to pdf code prob
PHP/5.3.1 Hi. I am trying to use this code to convert docs to .pdf utilizing unoconv. However the page just freezes blank, with no php errors reported. All permissions to folders are set 777. Can
how to get sn motherboard
Hello.
Need help making login verification cleaner...
I use the below to verify user login. I first check the cookie for the id, ip and a unique id. If it's set then I move on to verifying that they all belong together. I usually copy and paste
Simpler method of getting variables from mysql
Hi Guys,I'm trying to streamline my CMS's code and as I was writing a new page it occured to me that there might be an easier way to get variables from a mysql query and that if anyone knew how to do
help with calculations on a flat text file
hello,I have this code below that is attached to a flat file like this:Email:LastName:FirstName:Assignment1,100:Assignment2,100:Quiz1,50someone@email.com:Doe:John:85:93:45Here is the code:
PHP & Java
Hello,can PHP code be used inside java code?Code: <SCRIPT LANGUAGE="JavaScript">OpenWindow.document.write("<?php echo NotWorking;
1,000 select boxes with 100 options?!
I have 1 drop down select box with 1,000 options.In some case, there will be 100+ of these select boxes, with absolutely identical options.Is there any way to avoid repeating 1,000 options for 100