Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  • Users: usit
  • Order by date
  1. usit

    Call to a member function IsSMTP() on a non-object

    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
  2. usit

    Call to a member function IsSMTP() on a non-object

    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...
  3. usit

    unexpected T_ECHO from phpmailer_v5.1

    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...
  4. usit

    unexpected T_ECHO from phpmailer_v5.1

    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.'...
  5. usit

    unexpected T_ECHO from phpmailer_v5.1

    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...
  6. usit

    unexpected T_ECHO from phpmailer_v5.1

    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...
  7. usit

    unexpected T_ECHO from phpmailer_v5.1

    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...
  8. usit

    unexpected T_ECHO from phpmailer_v5.1

    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...

Part and Inventory Search

Back
Top