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

Thread: Outbound email 5.0GA using SMTP not working

  1. #1
    allyforce is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    29

    Default Outbound email 5.0GA using SMTP not working

    I have set up the smtp email settings with authentication and when I send the email it says "sending mail" but then goes back to the original email and there has been no email sent.

    Is there a setting I need to do or a patch? has anyone been able to get their email to work using SMTP? I didn't use sendmail because that was causing problems and at least with SMTP I can isolate that the problem is no longer with the mail server itself.

    Thanks.
    My SUGARCRM 5.0.0 Environment:

    Version 5.0.0 (Build 3095)
    MySQL 4.1.20
    PHP Version 5.0.4
    Apache/2.0.54 (Fedora)
    Virtual Private Server at 1and1.com

  2. #2
    asmase is offline Sugar Community Member
    Join Date
    Aug 2007
    Posts
    69

    Default Re: Outbound email 5.0GA using SMTP not working

    I had the same problem , but found out that it not working with POP3 , just select IMAP and no need to use the username and password , then it will not work again.
    Most properly is choose IMAP .

    try this it should work , atleast for me it does

    I not find any problem with POP3 but it will not work .

    Greetings

    Asmase
    Last edited by asmase; 2007-12-27 at 03:20 PM. Reason: typo

  3. #3
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Outbound email 5.0GA using SMTP not working

    check your password, some special chars are incorrectly encoded at the email interface.
    try to use a password with only alphanumeric chars

  4. #4
    allyforce is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    29

    Default Re: Outbound email 5.0GA using SMTP not working

    I haven't been able to find asetting to change things to IMAP versus POP -- this is for OUTBOUND email.

    I have only alphanumerical characters in my password.

    This is frustrating --- has everyone else been able to get outbound mail to work by using the install wizard?
    My SUGARCRM 5.0.0 Environment:

    Version 5.0.0 (Build 3095)
    MySQL 4.1.20
    PHP Version 5.0.4
    Apache/2.0.54 (Fedora)
    Virtual Private Server at 1and1.com

  5. #5
    asmase is offline Sugar Community Member
    Join Date
    Aug 2007
    Posts
    69

    Default Re: Outbound email 5.0GA using SMTP not working

    If you want to send your email from in sugar then i did the following:
    Go to Email TAB...
    Select settings.....(next to compose email)
    go to Mail Accounts.....

    then fil in the following:
    Name: any you want
    From Name: what you want shows in the email you send
    From Address: the email address you want to show in your email that you send out
    User name: your username
    Password: your password
    Mailserver: Your mail server
    Mail server protocol : choose IMAP
    Mail server port: your port for IMAP (in my case it was 143)
    use ssl: DONT CHECK
    Outgoing Mail server: you have to set this up as your host details
    then save this and test it , it should work i'am doing now the 12th times a installation on diffrent servers and this realy works

    i hope also for you dont give up

    Asmase

  6. #6
    allyforce is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    29

    Default Re: Outbound email 5.0GA using SMTP not working

    Hi, thanks for your response.

    I did, in fact, do those steps before posting. It just says "sending mail" but noting gets sent.

    Is there a way to see if there's some kind of an error that is writing to a log? where would that file be?

    Thanks.
    My SUGARCRM 5.0.0 Environment:

    Version 5.0.0 (Build 3095)
    MySQL 4.1.20
    PHP Version 5.0.4
    Apache/2.0.54 (Fedora)
    Virtual Private Server at 1and1.com

  7. #7
    asmase is offline Sugar Community Member
    Join Date
    Aug 2007
    Posts
    69

    Default Re: Outbound email 5.0GA using SMTP not working

    i will try to locate the file , dont know where it is also

    sorry

    Asmase

  8. #8
    allyforce is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    29

    Default Re: Outbound email 5.0GA using SMTP not working

    I have not only tested it and it says it works...but when I try to SAVE it it doesn't allow me to save.

    This made me think it could be permissions, but I set owner apach and chmod 775 on all the key directories -- data modules cache -- whatever was in the installation guide.

    Help?
    My SUGARCRM 5.0.0 Environment:

    Version 5.0.0 (Build 3095)
    MySQL 4.1.20
    PHP Version 5.0.4
    Apache/2.0.54 (Fedora)
    Virtual Private Server at 1and1.com

  9. #9
    allyforce is offline Sugar Community Member
    Join Date
    Dec 2007
    Posts
    29

    Default Re: Outbound email 5.0GA using SMTP not working

    Here is the ERROR I get when trying to save an email profile after it tested correctly.
    Attached Images Attached Images  
    My SUGARCRM 5.0.0 Environment:

    Version 5.0.0 (Build 3095)
    MySQL 4.1.20
    PHP Version 5.0.4
    Apache/2.0.54 (Fedora)
    Virtual Private Server at 1and1.com

  10. #10
    kuske's Avatar
    kuske is offline Sugar Community Member
    Join Date
    Oct 2007
    Location
    Germany
    Posts
    2,597

    Default Re: Outbound email 5.0GA using SMTP not working

    OK, spent a lot of time but I think it's worth.

    Sugar 5.0, as 4.5.x did already, checks ALL IMAP Folders of your mail server.
    Additional it tries to cache all emails from this folders.

    Our Email server has about 2500 folders each of them with about 10 to 2000 emails.

    When you push "SAVE" button in Mail Accounts Settings, Sugar tries to read all folders and to cache all emails.
    Nice job, as every time something changes on the mail server, Sugar restarts this job.
    So you can wait till the day the cows come home (german: St.Nimmerleinstag).

    I made a small change in module/inboundEmail/InbauondEmail.php line ~5500

    Code:
    		$delimiter = '.';
    		// clean MBOX path names
    		foreach($boxes as $k => $mbox) {
             
    //KUSKE
             $raw_boxname = str_replace($serviceString, "", $mbox->name);
             $GLOBALS['log']->debug("***INBOUNDEMAIL: BOX: ".print_r($raw_boxname,true));
             if ( ($raw_boxname == "INBOX")
             or   ($raw_boxname == "Postausgang")
             or   ($raw_boxname == "Gesendete Objekte") )
             {
    //KUSKE
             $raw[] = str_replace($serviceString, "", $mbox->name);
    			if ($mbox->delimiter) {
    				$delimiter = $mbox->delimiter;
    			}
    //KUSKE
             }
    //KUSKE
          }
    If the (german) foldernames do not match, you can look to your logfile for a complete list of all folders if debuglevel is set to "debug".

    After this change only the selected folders are cached in sugar and there is no problem any more.

    hk

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. HOW-TO guide for Email Campaigns.
    By agupta in forum Marketing/Campaign Management
    Replies: 146
    Last Post: 2012-01-31, 03:08 PM
  2. Replies: 9
    Last Post: 2012-01-12, 09:36 PM
  3. Gmail Outbound email (SMTP)
    By nathantruant in forum Help
    Replies: 9
    Last Post: 2008-08-10, 06:18 AM
  4. SMTP server working no email sending
    By portplusjn in forum Help
    Replies: 0
    Last Post: 2006-11-13, 09:56 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
  •