| Author |  | 
      
        | cgross Newbie
 
  
  
 Joined: 06 May 2014
 Location: United States
 Online Status: Offline
 Posts: 3
 | 
          At my company we've installed Afterlogic Pro to test its features for replacing our current webmail solution. Currently it all works fine, except when we go to send an email we require it to send the username+domain to the smtp server. Currently it just passes the username, which fails out.
           | Posted: 06 May 2014 at 6:17am | IP Logged |   |  
           | 
 |  
 Is there a setting I'm missing or an easy edit to the code itself to pass username+domain when authenticating with the smtp server?
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          Actually, WebMail Pro sends full email address as login by default, on both IMAP and SMTP levels. The setting responsible for that is found in data/settings/settings.xml file, it's called UseLoginWithoutDomain and its supported values are Off and On.
           | Posted: 06 May 2014 at 6:40am | IP Logged |   |  
           | 
 |  
 In case if your server requires replacing "@" with some other character in mailserver login, there's a plugin for that purpose.
 
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | cgross Newbie
 
  
  
 Joined: 06 May 2014
 Location: United States
 Online Status: Offline
 Posts: 3
 | 
          Thanks Igor. I tried what you said but I'm not getting any luck with it. As soon as I enable the plugin in the config.php file as it mentions, nothing will load at all. If I comment the line, it will start loading no issue and can do everything again (Except send emails). Even the admin panel refuses to load at that point.
           | Posted: 06 May 2014 at 10:15am | IP Logged |   |  
           | 
 |  | 
       
        | Back to Top |     | 
       
       
        |  | 
        | cgross Newbie
 
  
  
 Joined: 06 May 2014
 Location: United States
 Online Status: Offline
 Posts: 3
 | 
          Igor,
           | Posted: 06 May 2014 at 12:24pm | IP Logged |   |  
           | 
 |  
 Actually in looking it over I feel I was misunderstood possibly. The problem is when I send a message out to the smtp server, it authenticates with just the username "cgross" instead of username+domain "cgross@domain.net". I need when I submit an email to send to have it pass the entire "cgross@domain.net".
 | 
       
        | Back to Top |     | 
       
       
        |  | 
        | Igor AfterLogic Support
 
  
 
 Joined: 24 June 2008
 Location: United States
 Online Status: Offline
 Posts: 6168
 | 
          WebMail Pro uses the same approach for both IMAP and SMTP, and it uses full email address by default. So I thought there is a chance that behavior was reconfigured. I wonder if login credentials are sent to IMAP server in the same way, can you please confirm that?
           | Posted: 06 May 2014 at 10:40pm | IP Logged |   |  
           | 
 |  
 By the way, what WebMail Pro version do you run? The configuration options changed slightly around v7 release. You can find the version information as shown here, and there's also VERSION file found in root directory of WebMail Pro.
 
 With regard to enabling the plugin, sounds like there was a PHP syntax error, the additional line needs to be added to array defined in config.php file, all the items must be separated with a comma and there should be no comma after the last item.
 
 We might be able to help you better on this if we have access details which would allow us to investigate issue directly. Please feel free to contact us via HelpDesk.
 
 --
 Regards,
 Igor, AfterLogic Support
 | 
       
        | Back to Top |     | 
       
       
        |  |