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??
utf8_general_ci error ??
I have all kinds of data to be inserted in database table//I am getting this errorYou have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right
$_GET problem
Hi all,Have a bit of a problem with a little piece of code, I am not sure if this should be under php or ajax as I am not sure where the problem lies. Basically here is the script:Code:
Get word number x from string?
How can I use a function to loop through a string, and "have a look at" every word in the string, probably separated by a comma, and print them out, like this:word 1: xxxxword 2: xxxxword 3:
Warehouse Management
Hi,
Impact of movement type 412 E on MAP
Hi
Please Help my PHP Dating Function.
Hi everyone!Well here is my code that displays this: It works wonderful.The code is:Code: function time_elapsed_string($ptime) { $etime = time() - $ptime; if ($etime < 1) {
Must be a string? Huh, what? HELP?
with the following script, I get Fatal error: Property name must be a string in /home/content/e/s/o/esone/html/test/123.php on line 24Anyone maybe know what is causing it?Code: <?phpfunction
Placing and array within an array then sorting it!
I have a page that runs two large mysql queries and saves the results into arrays, in php I then perform a simple multiplication between the two arrays and the results is displayed in a dynamic html
EU VAT Package 2010
Does any one know whether SAP will be developing new reporting functionality due the new VAT rules the European Commission want to implement from 2010?
Problem with a select distinct
I have a problema with a select distinct, I have the next sql: