Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9151103
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T11:43:12+00:00 2026-06-17T11:43:12+00:00

Is it possible to catch delivery error with $this->email->send() used conditionally and $this->email->print_debugger() ?

  • 0

Is it possible to catch delivery error with $this->email->send() used conditionally and $this->email->print_debugger()? Like this…

if (!$this->email->send()){
  // Error
  $this->email->print_debugger()
}else{
  // Success
}

In my case if the recipient is a fake email address the send() function always return true. Mail protocol is set to standard php mail function, do i need to set config protocol to smtp?

Or am I asking something that must be done with a separate procedure (such as pipe bounce messages to a server dir and parse it later)?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T11:43:14+00:00Added an answer on June 17, 2026 at 11:43 am

    The CI Email library doesn’t know whether the recipient is legit or not. Nor will any other library.

    You can only know with a limited certainty when the mail is trying to be sent.

    Your system mail log can tell some, bounces might tell some of the others but you will never know for sure even if the mail is sent and doesn’t gets bounced. You’d might be sending to a spamtrap, catchall or something third.

    You should force recipients to validate their mail address, if you are doing recurring sends.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Is it possible to catch the HTTP errors (like 404, 500, 504 etc) when
According to the comment on this answer it is possible to catch Fatal Errors
Is it possible to catch any error in Python? I don't care what the
I wonder if it is possible to catch exceptions in the following case: The
Is it possible to catch an error when using JSONP with jQuery? I've tried
Possible Duplicate: catch exception by pointer in C++ I always catch exceptions by value.
Is possible to catch more then one exception in the same catch block? try
It is possible to catch an exception and throw a new exception which wraps
Is it possible to catch a classical ASP Scripting Timeout and redirect to a
Is it possible to catch errors (for instance due to timeout) with net-snmp in

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.