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

  • SEARCH
  • Home
  • 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 4066994
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 20, 20262026-05-20T16:11:43+00:00 2026-05-20T16:11:43+00:00

I am running into the following error using Pear Mail: Notice: Error in sending

  • 0

I am running into the following error using Pear Mail:

Notice: Error in sending mail: Failed to add recipient: user@domain.com [SMTP: Invalid response code received from server (code: 550, response: 5.1.1 : Recipient address rejected: User unknown in virtual mailbox table)] in /PEAR/PEAR.php on line 873

The email is not sent. Other email addresses such as Gmail and Yahoo are working OK. It only errors for specific email clients, as far as I am aware.

I am using the following script to send the queued mail:

require_once "Mail/Queue.php";

$db_options['type']        = 'mdb2';
$db_options['dsn']         = 'mysql://username:password@localhost/db';
$db_options['mail_table']  = 'mailqueue';
$mail_options['driver']    = 'smtp';
$mail_options['host']      = 'hostAddress';
$mail_options['port']      = 25;
$mail_options['localhost'] = 'localhost'; //optional Mail_smtp parameter
$mail_options['auth']      = false;
$mail_options['username']  = 'user@domain.com';
$mail_options['password']  = 'password'; 

$max_amount_mails = 100;
$mail_queue =& new Mail_Queue($db_options, $mail_options);
$mail_queue->sendMailsInQueue($max_amount_mails);

Does anyone have any ideas why this error would be caused for specific addresses?

I am running PHP5.2/Apache2(CentOS 5.5)/Pear Mail 1.2.0/Pear Mail Queue 1.2.6/

Thank you

  • 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-05-20T16:11:43+00:00Added an answer on May 20, 2026 at 4:11 pm

    My goodness, that error message has more padding than error! Let’s split it out a bit.

    Notice: 
    Error in sending mail: 
    Failed to add recipient: user@domain.com 
    [SMTP: 
    Invalid response code received from server 
    (code: 550, 
    response: 5.1.1 : 
    Recipient address rejected: 
    User unknown in virtual mailbox table)]
    

    That last line is the only one we care about.

    The SMTP server looked up the address you were using and is complaining that the user could not be located. In other words the address is bogus and is being rejected.

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

Sidebar

Related Questions

Deployed application to production and running into the following error on views that contain
EDIT: I am basically running into the following documented issue . I am using
I am running into a parse error while using xlwt. Simple formula's like SUM()
I'm running into a problem where I have a simple add/edit form and using
Following this tutorial and running into trouble. [TestMethod] [ExpectedException(typeof(Exception))] public void VerifyPropertyNameMethod_NonExistentPropertyString_ThrowsException() { var
I am running into trouble given the following setup: Operating System is Windows 7
I'm running into issues with the following code: var setupSearch = { searchSuggest: function(field)
I am running into some difficulty with the following query. SELECT maker, speed FROM
I am running into an error I am having trouble figuring out. I have
I am running into an issue when using my Castle Windsor Controller Factory with

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.