Results 1 to 7 of 7

Thread: SMTP outgoing to external domains not working

  1. #1
    Murtaza Nasir is offline Junior Member
    Join Date
    Feb 2012
    Posts
    9

    Default SMTP outgoing to external domains not working

    Dear All,

    I have been quite happy with SugarCRM CE in the past. I installed an instance previously on the same shared hosting provider(different account) that worked without a hitch. But I just did a fresh install of version 6.1.7 on ipower, and I have been trying for two days to get the outgoing email to work. My SMTP settings are working fine on outlook etc. I receive the test email on my own domain too. But I cannot get it to send to any other domain like gmail or hotmail etc.

    I went to the email module and sent a single email to multiple addresses (both local and external domains) and I get the email on the local addresses but not on external. I've set the logging level at INFO and it shows no errors while sending these emails.

    I have tried everything mentioned on these forums related to SMTP errors, except for directly editing the PHP files. I tried using various SMTP servers ipower provides, the IP address of the SMTP server and with and without SSL,TLS, various ports etc. Every time it can send it to local addresses but not to external domains. Please note that this isnt an issue anywhere else as I can send emails to external domains via outlook or webmail just fine from the same email address.

    I am attaching the log file. Where it shows errors is where I experimented with different SMTP user/passwords/config that may not have been correct. But in all other places where it shows mails sent through admin panel or through the mail module, there is no error, and yet mails on external domains are never received.

    I apologize for the long-windedness, I just cant seem to understand where the problem is. I appreciate any help I can get.

    Best regards,
    Murtaza
    Attached Files Attached Files

  2. #2
    morrighu is offline Sugar Community Member
    Join Date
    Apr 2006
    Posts
    34

    Default Re: SMTP outgoing to external domains not working

    Go check your IP address & hostname on the blackhole lists. It's possible you've been blackholed.

  3. #3
    Murtaza Nasir is offline Junior Member
    Join Date
    Feb 2012
    Posts
    9

    Default Re: SMTP outgoing to external domains not working

    Quote Originally Posted by morrighu View Post
    Go check your IP address & hostname on the blackhole lists. It's possible you've been blackholed.
    I can send emails fine with the same account and server settings from outlook, webmail and other clients, so its not that. I've run out of things to try. Any other possibilities?

  4. #4
    morrighu is offline Sugar Community Member
    Join Date
    Apr 2006
    Posts
    34

    Default Re: SMTP outgoing to external domains not working

    It's possible that the mail from your server just can't get there from here. Do you have command line access to your server? If so, there are some tests you can try. Otherwise, you're kinda stuck asking your hosting provider for help.

  5. #5
    Murtaza Nasir is offline Junior Member
    Join Date
    Feb 2012
    Posts
    9

    Default Re: SMTP outgoing to external domains not working

    Quote Originally Posted by morrighu View Post
    It's possible that the mail from your server just can't get there from here. Do you have command line access to your server? If so, there are some tests you can try. Otherwise, you're kinda stuck asking your hosting provider for help.
    I dont have command line access, but I figured the same and asked the ipower support guys to try figure out what the issue is. I've installed several versions of sugar, all of them have the exact same problem, so it cant be sugar. The support guys have replicated the issue but no progress so far. What are these tests? Might ask them to try these tests to find out what is what. Thanks for the help

  6. #6
    morrighu is offline Sugar Community Member
    Join Date
    Apr 2006
    Posts
    34

    Default Re: SMTP outgoing to external domains not working

    Get to a command line on your server. Then try to telnet to the mail server.

    Code:
    telnet mysmtpserver.somdomain.com 25
    See if you can even get a connection.

    If you do, then see if you can send.

    Code:
    HELO mail.mydomain.com
    You should get something like this back 250 mail.domain.ext Hello local.domain.name [loc.al.i.p], pleased to meet you

    Code:
    MAIL FROM: myemail@mydomain.com
    You should get a response like 250 2.1.0 mail@domain.ext... Sender ok

    Code:
    RCPT TO: myotheremail@gmail.com or ymail.com or hotmail.com or whever you know for sure works
    You shold get back 250 2.1.0 mail@otherdomain.ext... Recipient ok

    Code:
    Subject: Test Email
    & hit enter

    Code:
    This is a test email #1
    & hit enter

    Code:
    .
    & hit enter. You have to put a period (.) on a line by itself to end the mail.

    You should get back 250 2.0.0 ???????? Message accepted for delivery where the ? are a message ID.

    Code:
    QUIT
    & hit enter

    You should get back something like this 221 2.0.0 mail.domain.ext closing connection Connection closed by foreign host.

    Now wait a few minutes and go log in to your other email account - Gmail, or Yahoo or whatever and make sure you got the email.

  7. #7
    Murtaza Nasir is offline Junior Member
    Join Date
    Feb 2012
    Posts
    9

    Default Re: SMTP outgoing to external domains not working

    Thanks a lot man. I hope this works, and gives some clue as to what the issue is, as the problem still hasn't been solved.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Outgoing Email SMTP Issues
    By Murtaza Nasir in forum Installation and Upgrade Help
    Replies: 0
    Last Post: 2012-02-07, 06:15 PM
  2. Email outgoing server settings not working
    By Mithun in forum Developer Help
    Replies: 1
    Last Post: 2009-06-16, 12:33 PM
  3. Outgoing SMTP email not working Sugar 5.0.0.c
    By benchmarklabs in forum Help
    Replies: 3
    Last Post: 2008-08-26, 04:39 AM
  4. Replies: 8
    Last Post: 2006-09-07, 06:51 PM
  5. HELP!!! Outgoing SMTP campaign emails not being sent in SugarCRM OSS 4.2.0d
    By jpeckham in forum Marketing/Campaign Management
    Replies: 1
    Last Post: 2006-06-23, 07:53 PM

Tags for this Thread

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
  •