Results 1 to 10 of 10

Thread: Outbound Email Settings: SugarPHPMailer & GoDaddy SMTP Relay

  1. #1
    securis is offline Junior Member
    Join Date
    Mar 2007
    Location
    Montreal, QC
    Posts
    1

    Exclamation Outbound Email Settings: SugarPHPMailer & GoDaddy SMTP Relay

    I am having trouble with the Outbound Mail feature, I've carefully followed the instructions provided by GoDaddy and Sugar, but it 's not working.

    I've seen elsewhere on the forums that some people were experiencing similar issues with Gmail; perhaps there is a link?

    I've also searched the 'net for similar PHPMailer issues but have found nothing so far.

    Here are the specifics...

    Sugar Version: 4.5.1a
    Sugar Open Source
    Operating System: Ubuntu 6.10 (Edgy) Server + native LAMP stack + latest updates
    PHP Version: 5.1.6 (Ubuntu native package)
    Database: MySQL 5.0.24a (Ubuntu native package)
    Web Server: Apache 2.0.55 (Ubuntu native package)

    The Outbound Mail Settings:
    Mail Transfer Agent: SMTP
    SMTP Server: smtpout.secureserver.net
    SMTP Port: 80
    Use SMTP Authentication?: Y
    SMTP username: <NAME>@<DOMAIN>.com
    SMTP Password: ********

    This is the error that gets logged <confidential info obscured>:
    Code:
    Thu Mar 15 06:31:11 2007,933 [8698] FATAL SugarCRM - SugarPHPMailer encountered an error: SMTP Error: Could not authenticate.
    Thu Mar 15 06:31:11 2007,934 [8698] FATAL SugarCRM - SugarPHPMailer encountered an error: The following From address failed: <NAME>@<DOMAIN>.com
    Thu Mar 15 06:31:11 2007,938 [8698] FATAL SugarCRM - Error emailing:The following From address failed: <NAME>@<DOMAIN>.com
    We're a small Information Security consultancy, trying to deploy this internally; and hopefully if this proves to be a success, we will also be able to recommend Sugar for deployment to our clients. (So far, I like what I see, looks like a great piece of software.)

    Thanks in advance for any suggestions or solutions...

  2. #2
    dnanet is offline Junior Member
    Join Date
    Jun 2007
    Posts
    4

    Default Re: Outbound Email Settings: SugarPHPMailer & GoDaddy SMTP Relay

    I get the same error.

    Anyone got any suggestions?

  3. #3
    nelson.carvalho is offline Junior Member
    Join Date
    Apr 2007
    Posts
    1

    Default Re: Outbound Email Settings: SugarPHPMailer & GoDaddy SMTP Relay

    I get the same error this week. Are you already resolved?

    Thank's for suggestions.

  4. #4
    shondalg is offline Junior Member
    Join Date
    Sep 2007
    Posts
    2

    Default Re: Outbound Email Settings: SugarPHPMailer & GoDaddy SMTP Relay

    I don't know if this resolves your issue but everyone says that authentication should be disabled

  5. #5
    cduran is offline Junior Member
    Join Date
    Oct 2007
    Posts
    4

    Question Re: Outbound Email Settings: SugarPHPMailer & GoDaddy SMTP Relay

    Not it does not do anything for me it keeps giving me the same error.

    Modifing the class would be good so any ideas would come in handy

    Perhaps the Authenticate function in the file class.smtp.php somewhere around this section of the function:

    Code:
            // Send encoded username
            fputs($this->smtp_conn, base64_encode($username) . $this->CRLF);
    
            $rply = $this->get_lines();
            $code = substr($rply,0,3);
    
            if($code != 334) {
                $this->error =
                    array("error" => "Username not accepted from server",
                          "smtp_code" => $code,
                          "smtp_msg" => substr($rply,4));
                if($this->do_debug >= 1) {
                    echo "SMTP -> ERROR: " . $this->error["error"] .
                             ": " . $rply . $this->CRLF;
                }
                return false;
            }
    
            // Send encoded password
            fputs($this->smtp_conn, base64_encode($password) . $this->CRLF);
    
            $rply = $this->get_lines();
            $code = substr($rply,0,3);
    
            if($code != 235) {
                $this->error =
                    array("error" => "Password not accepted from server",
                          "smtp_code" => $code,
                          "smtp_msg" => substr($rply,4));
                if($this->do_debug >= 1) {
                    echo "SMTP -> ERROR: " . $this->error["error"] .
                             ": " . $rply . $this->CRLF;
                }
                return false;
            }
    Perhaps the base64_encode var is doing something wrong
    Any hands to help ???
    To get this finally fix please!!

    Thnx.


  6. #6
    mfuller76 is offline Junior Member
    Join Date
    Jan 2010
    Posts
    1

    Default Re: Outbound Email Settings: SugarPHPMailer & GoDaddy SMTP Relay

    I fee lyour apin but, it does work and here is how. I have a domain and email hosted through Godaddy.com and set up my mail on an HTC Hero. Incoming mail worked great but ourgoing did not...here is how to get it to work.

    - Set as IMAP
    - Email address and user name should be the same and full email address
    - Password - obvious
    - Incoming Server is imap.secureserver.net
    - Security type none
    - Port 143

    here is where it is different

    - Check login required
    - User name is full email
    - Outgoing Server should be: smtpout.secureserver.net
    - check SSL as security type
    - Port needs to be 465

    It should work...at least it does on the HTC Hero. I have double and triple checked it and it does function just fine.

  7. #7
    gates2u is offline Sugar Community Member
    Join Date
    Feb 2010
    Location
    Greensboro MD
    Posts
    43

    Default Re: Outbound Email Settings: SugarPHPMailer & GoDaddy SMTP Relay

    mfuller - thank you so much! I have been sending through sendmail getting the warning error (no username and password) - and this worked for me. I can't thank you enough - this headache gone!

    Cheryl

  8. #8
    tonercol is offline Junior Member
    Join Date
    May 2011
    Posts
    2

    Default Re: Outbound Email Settings: SugarPHPMailer & GoDaddy SMTP Relay

    I am trying to configure the outgoing email. I have server in Godaddy trying all possible changes but, first the outgoing mail server configuration do not record after configuration (I have clicked on save button always. And the other thing is the always appear the following message:

    Error emailing:SMTP Error: Could not connect to SMTP host.

    Please help me with this. I need to have email accounts working with our users.

    Regards,

  9. #9
    gates2u is offline Sugar Community Member
    Join Date
    Feb 2010
    Location
    Greensboro MD
    Posts
    43

    Default Re: Outbound Email Settings: SugarPHPMailer & GoDaddy SMTP Relay

    Since the time of my last host, I have now moved to a Godaddy virtual dedicated server. I was having sporadic failure of outbount emails going through smtpout.secureserver.net (where I have an unlimited IMAP-capable email account set up)

    SOLUTION: This problem went away when I decided to send outgoing email from localhost via port 25 on my Godaddy virtual dedicated server (Fedora 14 NGINX). Apparently, the godaddy firewall randomly blocks outgoing emails going to/through other SMTP servers -- even if that server is hosted by Godaddy using an authenticated SMTP login using an email domain. Go figure. Makes buying more relays for the Godaddy email account pretty pointless.

    This is a change from my previous post in 2010.

  10. #10
    abrander is offline Junior Member
    Join Date
    Feb 2009
    Posts
    4

    Default Re: Outbound Email Settings: SugarPHPMailer & GoDaddy SMTP Relay

    Hmmm...I had similar issues. In my case I was trying to connect to Gmail - and of course this should work since it appears to be supported out of the box. In my case I was also running nginx. The solution was to install:

    apt-get install libapache2-mod-php5

    This not only installs the apache libraries but apache itself. I then simply removed the autostart entry:

    sugarcrm# rm /etc/init.d/apache2

    There's some sort of dependency going on...if I really cared I'd find out what it is, but I'm more interested in getting this to work..

    Hopefully saves someone else some wasted hours.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. HOW-TO guide for Email Campaigns.
    By agupta in forum Marketing/Campaign Management
    Replies: 146
    Last Post: 2012-01-31, 03:08 PM
  2. Email management - Improvements in future releases
    By manoj in forum Feature Requests
    Replies: 102
    Last Post: 2009-11-17, 06:43 AM
  3. 4.5.1 can't overwrite inbound email settings?
    By sscalzo in forum Installation and Upgrade Help
    Replies: 8
    Last Post: 2007-10-03, 08:52 PM
  4. Is your email REALLY being sent from Sugar?
    By peter_a_brown in forum Help
    Replies: 7
    Last Post: 2006-11-29, 04:22 PM
  5. Replies: 8
    Last Post: 2006-08-23, 11:04 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
  •