Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Emails not sending because of: nobody@example.com

  1. #1
    vstokesjr is offline Senior Member
    Join Date
    Dec 2009
    Posts
    33

    Exclamation Emails not sending because of: nobody@example.com

    Sugar CRM: 5.5.0 CE
    Platform: Linux/Apache
    PHP: 5.2.9
    Mailer: Authenticated SMTP

    We are having a problem sending because we get this error from the SMTP system:

    Quote Originally Posted by SMTP Error Message
    2010-01-17 11:09:08 [21743] H=(www.MYADDY.com) [67.15.255.18]:57941 I=[67.15.255.18]:2525 F=<nobody@example.com> rejected RCPT <valid_person@valid_domain.com>: SITEGROUND: AUTHENTICATED Sorry 67.15.255.18. The "MAIL FROM" email address nobody@example.com / example.com you are using is not hosted on this server. You authenticated as valid@MYADDY.com but tried to use nobody@example.com / example.com as mail from address. Sending mails from addresses not hosted on our server is not allowed. Please check the "MAIL FROM" settings of your mail client and make sure you set the "MAIL FROM" address to an email account which is hosted on the server.
    This results in these entries in the sugarcrm.log files:

    Quote Originally Posted by sugarcrm.log
    Sun Jan 17 11:51:18 2010 [31609][75fa6e51-b087-f9e3-eaf8-4b293ee65cf4][FATAL] SugarPHPMailer encountered an error: SMTP Error: The following recipients failed: valid_person@valid_domain.com
    Sun Jan 17 11:51:18 2010 [31609][75fa6e51-b087-f9e3-eaf8-4b293ee65cf4][FATAL] Email delivery FAILURE:Array
    (
    [date_entered] => 2010-01-17 17:51:18
    [date_modified] =>
    [user_id] => 75fa6e51-b087-f9e3-eaf8-4b293ee65cf4
    [id] => 788
    [campaign_id] => 39a8861b-e685-a2ac-3e63-4b2fc2f14845
    [marketing_id] => 1e5b50ed-e706-abee-5ca4-4b2fc2370001
    [list_id] => ddf424ce-c2fd-bcd7-064e-4b2fc1af2297
    [send_date_time] => 2010-01-17 17:50:18
    [modified_user_id] =>
    [in_queue] => 0
    [in_queue_date] =>
    [send_attempts] => 0
    [deleted] => 0
    [related_id] => 795860d5-18d5-9dc9-89e8-4b4e2e378cde
    [related_type] => Prospects
    )
    Ok, so where is nobody@example.com configured?
    I have configured the email in ADMIN and via the CAMPAIGN system. I don't know where Sugar is getting the nobody@example.com from nor is there anything I can find that will help me fix this problem.
    Last edited by vstokesjr; 2010-01-17 at 04:54 PM.

  2. #2
    wdroush is offline Senior Member
    Join Date
    Oct 2009
    Posts
    159

    Default Re: Emails not sending because of: nobody@example.com

    Admin > E-Mail Settings

  3. #3
    vstokesjr is offline Senior Member
    Join Date
    Dec 2009
    Posts
    33

    Default Re: Emails not sending because of: nobody@example.com

    Quote Originally Posted by wdroush View Post
    Admin > E-Mail Settings
    [sarcasm on] Uh duh, Why didn't I think of that? [sarcasm off]

    I'm way ahead of that. I have read and re-read the manual and have double checked everything in Admin and there is NO PLACE where nobody@example.com appears.

  4. #4
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Emails not sending because of: nobody@example.com

    modules...
    EmailMan/EmailMan.php
    Campaigns/utils.php
    Campaigns/WizardMarketing.php
    EmailMarketing/EditView.php

    Here it is, look for youself whether you find the connection
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  5. #5
    vstokesjr is offline Senior Member
    Join Date
    Dec 2009
    Posts
    33

    Default Re: Emails not sending because of: nobody@example.com

    I see this code in modules/Campaigns/utils.php:

    Code:
    **
     * Return bounce handling mailboxes for campaign.
     *
     * @param unknown_type $emails
     * @param unknown_type $get_box_name, Set it to false if want to get "From Name" other than the InboundEmail Name.
     * @return $get_name=true, bounce handling mailboxes' name; $get_name=false, bounce handling mailboxes' from name.
     */
    function get_campaign_mailboxes(&$emails, $get_name=true) {
        if (!class_exists('InboundEmail')) {
            require('modules/InboundEmail/InboundEmail.php');
        }
        $query =  "select id,name,stored_options from inbound_email where mailbox_type='bounce' and status='Active' and deleted='0'"; 
        $db = DBManagerFactory::getInstance();
        $result=$db->query($query);
        while(($row=$db->fetchByAssoc($result))!= null) {
        	if($get_name) {
        		$return_array[$row['id']] = $row['name'];
        	} else {
            	$return_array[$row['id']]= InboundEmail::get_stored_options('from_name',$row['name'],$row['stored_options']);
        	}
            $emails[$row['id']]=InboundEmail::get_stored_options('from_addr','nobody@example.com',$row['stored_options']);
        }
    
        if (empty($return_array)) $return_array=array(''=>'');  
        return $return_array;
        
    }
    I manually ran the sql query:
    Code:
        $query =  "select id,name,stored_options from inbound_email where mailbox_type='bounce' and status='Active' and deleted='0'";
    and it does return a record.

    I noticed this statement in a couple of other files too:
    Code:
    $emails[$row['id']]=InboundEmail::get_stored_options('from_addr','nobody@example.com',$row['stored_options']);
    If I am reading that correctly, it is only suppose to use nobody@example.com if the data is missing or a record doesn't exist. However, a record exists. Now what?

  6. #6
    vstokesjr is offline Senior Member
    Join Date
    Dec 2009
    Posts
    33

    Default Re: Emails not sending because of: nobody@example.com

    I just configured Sugar to use my GMAIL account to send email. It worked. It sent the test emails from my test campaign however when someone replies to the email the TO: address is:

    My Name <nobody@example.com>

    NOTE: I have replaced my real display name with My Name above however the email address is what is NOT correct!

    It would appear the GMAIL isn't as strict at accepting email as my service provider is.

    Again,

    Why is Sugar supplying NOBODY@EXAMPLE.COM when we have correctly configured Sugar per the documentation!?!?!!?!

  7. #7
    vstokesjr is offline Senior Member
    Join Date
    Dec 2009
    Posts
    33

    Default Re: Emails not sending because of: nobody@example.com

    *bump*
    and I keep doing so until Sugar fixes this problem.

  8. #8
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Emails not sending because of: nobody@example.com

    You're sure this isn't you? Assuming you are using a stock Sugar version (and so do I for tests) - why does mine work (with Gmail) and yours doesn't?
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

  9. #9
    vstokesjr is offline Senior Member
    Join Date
    Dec 2009
    Posts
    33

    Default Re: Emails not sending because of: nobody@example.com

    Quote Originally Posted by roblaus View Post
    You're sure this isn't you? Assuming you are using a stock Sugar version (and so do I for tests) - why does mine work (with Gmail) and yours doesn't?
    I don't know why. And I doubt it's me as I am just following the manual.

    See for yourself (cut and paste from Campaign Diagnostics):

    Quote Originally Posted by Campaign Diagnostics
    Email Components
    E-mail Settings have been configured:
    From Name: From Address: Mail Transfer Agent: SMTP Server SMTP Username
    Stokes Industries stokesindustries@gmail.com SMTP smtp.gmail.com stokesindustries@gmail.com
    1 Mail account(s)) with bounce handling detected: .
    Mail Account Name: User Name Monitored Folder Mail Server Address Status
    Stokes Industries stokesindustries@gmail.com INBOX smtp.gmail.com Active
    When someone replies to the email, this is what is displayed in the TO: field: Stokes Industries <nobody@example.com>

    I have deleted and reconfigured the email system a dozen times and no matter what I do Sugar will not send the proper from_addr.

    Absolutely frustrating.

  10. #10
    roblaus's Avatar
    roblaus is offline Sugar Community Member
    Join Date
    Dec 2006
    Location
    Vienna / Austria
    Posts
    2,850

    Default Re: Emails not sending because of: nobody@example.com

    Try it without the wizard, I'm hearing this now for the second time.

    0. Check all from, tom etc. fields of you configured bounce email account (admin inbound email)
    1. Open your campaign
    2. Check whether the target lists are all there (make sure you have one of type test)
    3. Check the marketing message
    4. Skip the the rest
    5. Press "send testmails"

    see whether the reult is the same
    __________________________
    Robert Laussegger
    http://www.iscongroup.net

    Bei Fragen: support@iscon.at
    Die deutschen Sprachdateien für SugarCRM und das deutsche Handbuch gibt es hier: http://goo.gl/kPsAz
    Ab sofort auch mit 6.4.2

Page 1 of 2 12 LastLast

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Sending Emails
    By jungler in forum Developer Help
    Replies: 8
    Last Post: 2008-09-26, 11:01 PM
  2. sending emails
    By pentalift1 in forum Help
    Replies: 1
    Last Post: 2007-04-20, 09:42 PM
  3. Sending Emails
    By PrinterMedic in forum Help
    Replies: 0
    Last Post: 2006-09-12, 09:57 PM
  4. Emails not sending...
    By greglumley in forum Help
    Replies: 0
    Last Post: 2006-07-24, 08:25 PM
  5. Sending emails in 4.2
    By gareth in forum Feature Requests
    Replies: 1
    Last Post: 2006-04-19, 09:13 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •