Note that there are some explanatory texts on larger screens.

plurals
  1. POActionMailer and Exchange
    primarykey
    data
    text
    <p>I successfully send Mails via SMTP using my Rails App and my Postfix Server. Now I need to move to an Exchange: Microsoft ESMTP MAIL Service, Version: 6.0.3790.3959 that has POP3 and SMTP support enabled. </p> <p>I use actionmailer 1.2.5 and am not able to successfully login to the server while trying to send a mail. </p> <p>In case I use Mail.app sending and recieving works fine as long as I change the authentication schema to "Password". Checking the server looks like so: </p> <pre><code>READ Nov 18 10:37:00.509 [kCFStreamSocketSecurityLevelNone] -- host:mail.my-mail-server-domain.com -- port:25 -- socket:0x11895cf20 -- thread:0x11b036a10 250-mail.my-mail-server-domain.com Hello [xxx.xxx.xxx.xxx] 250-TURN 250-SIZE 250-ETRN 250-PIPELINING 250-DSN 250-ENHANCEDSTATUSCODES 250-8bitmime 250-BINARYMIME 250-CHUNKING 250-VRFY 250-X-EXPS GSSAPI NTLM LOGIN 250-X-EXPS=LOGIN 250-AUTH GSSAPI NTLM LOGIN 250-AUTH=LOGIN 250-X-LINK2STATE 250-XEXCH50 250 OK WROTE Nov 18 10:37:00.852 [kCFStreamSocketSecurityLevelNone] -- host:mail.my-mail-server-domain.com -- port:25 -- socket:0x11895cf20 -- thread:0x11b036a10 AUTH LOGIN READ Nov 18 10:37:01.848 [kCFStreamSocketSecurityLevelNone] -- host:mail.my-mail-server-domain.com -- port:25 -- socket:0x11895cf20 -- thread:0x11b036a10 235 2.7.0 Authentication successful. </code></pre> <p>So authentication method :login seems to be properly supported. Now when it comes to my configuration for actionmailer it looks like so: </p> <pre><code>ActionMailer::Base.server_settings = { :address =&gt; "mail.my-mail-server-domain.com", :port =&gt; 25, :domain =&gt; "my-mail-server-domain.com", :authentication =&gt; :login, :user_name =&gt; "myusername", :password =&gt; "mypassword" } </code></pre> <p>And I get authentication errors over and over. I also tried to change</p> <pre><code> :user_name =&gt; "my-mail-server-domain.com\myusername" :user_name =&gt; "my-mail-server-domain.com\\myusername" :user_name =&gt; "myusername/my-mail-server-domain.com" :user_name =&gt; "myusername@my-mail-server-domain.com" </code></pre> <p>but nothing works. Can anyone help me? </p> <p>Regards. Jason</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload