You again? Great!
You found it. I'd overlooked new phpmailer(). That fixed it.
Thanks for your quick eye, quick response, and informative answer.
all the best
usit
I striped the mail section of the registration page of my crashed web site into smaller sections and got the smallest working. On the way back to reassembling the original mail code this error was thrown: Call to a member function IsSMTP() on a non-object
with a line number pointing to this...
jpadie thanks for your excellent service.
Email plus attachments is working.
I have been chasing some red herrings.
In the definition of $host='localhost' it shows how to use multiple hosts to be tried if a previous one fails:
(e.g. "smtp1.example.com:25;smtp2.example.com").
I naively used this...
More thanks jpadie,
moving 2 steps forward then 1 step back.
The following script, run with or without authentication, can’t make an smtp connection. It throws this error both times:
Fatal error: Uncaught exception 'phpmailerException' with message 'SMTP Error: Could not connect to SMTP host.'...
More thanks jpadie.
I tried w/wo smtp authentication -- no luck
The following script, run with or without authentication, can’t make an smtp connection. It throws this error both times:
Fatal error: Uncaught exception 'phpmailerException' with message 'SMTP Error: Could not connect to SMTP...
Thanks again jpadie,progress is evident.
.removed encoding of $contents but the error was still thrown.
..I was impressed with your 51 successful installations so I redownloaded class.phpmailer.php from Andy Prevost's Worx International site. In stalled fresh copies of class.phpmailer.php and...
Thanks jpadie. Your quick response and trained eyes are appreciated. I changed array notations from {} to []. You're correct file_get_contents needs a $. $contents is a file in the same directory as this program. After making these corrections I get the same error.
Any other insights to share...
Running PHP5.2.6 +Lemy5 on APACHE 2.0.49 my phpmailer_v5.1 program throws the following error:
‘Parse error: syntax error, unexpected T_ECHO in /home/vg010web02/68/65/2926568/web/lib/phpmailer/phpmailer5/test/class.phpmailer.php on line 533’
The script calling class.phpmailer.php came with...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.