質問するログイン新規登録

質問編集履歴

4

パスワードの違い

2015/09/26 04:49

投稿

axax90
axax90

スコア120

title CHANGED
File without changes
body CHANGED
@@ -23,4 +23,54 @@
23
23
  StackOverFlowで書かれている情報は古いのでしょうか?
24
24
 
25
25
  zohoのsmtpの設定
26
- [https://www.zoho.com/mail/help/zoho-smtp.html](https://www.zoho.com/mail/help/zoho-smtp.html)
26
+ [https://www.zoho.com/mail/help/zoho-smtp.html](https://www.zoho.com/mail/help/zoho-smtp.html)
27
+
28
+
29
+
30
+ 追記
31
+
32
+
33
+ 正しいパスワードだと、
34
+
35
+ ```
36
+ config.action_mailer.delivery_method = :smtp
37
+ config.action_mailer.smtp_settings = {
38
+ :address => "smtp.zoho.com",
39
+ :port => 465,
40
+ :domain => 'localhost',
41
+ :user_name => 'ユーザー名',
42
+ :password => '正しいパスワード',
43
+ :authentication => :login,
44
+ :ssl => false,
45
+ :tls => true,
46
+ :enable_starttls_auto => true
47
+ }
48
+ ```
49
+
50
+ ↓のエラーです。
51
+
52
+ ```
53
+ EOFError: end of file reached
54
+ ```
55
+
56
+ 不正なパスワードだと、
57
+
58
+ ```
59
+ config.action_mailer.delivery_method = :smtp
60
+ config.action_mailer.smtp_settings = {
61
+ :address => "smtp.zoho.com",
62
+ :port => 465,
63
+ :domain => 'localhost',
64
+ :user_name => 'ユーザー名',
65
+ :password => '不正なパスワード',
66
+ :authentication => :login,
67
+ :ssl => false,
68
+ :tls => true,
69
+ :enable_starttls_auto => true
70
+ }
71
+ ```
72
+
73
+ ↓のエラーでした。
74
+ ```
75
+ Net::SMTPAuthenticationError: 535 Authentication Failed
76
+ ```

3

zohoのsmtpの設定

2015/09/26 04:49

投稿

axax90
axax90

スコア120

title CHANGED
File without changes
body CHANGED
@@ -20,4 +20,7 @@
20
20
  railsアプリケーションから、smtpサーバーを使ってのメール送信は、
21
21
  zoho側で何か設定が必要なのでしょうか?
22
22
 
23
- StackOverFlowで書かれている情報は古いのでしょうか?
23
+ StackOverFlowで書かれている情報は古いのでしょうか?
24
+
25
+ zohoのsmtpの設定
26
+ [https://www.zoho.com/mail/help/zoho-smtp.html](https://www.zoho.com/mail/help/zoho-smtp.html)

2

fix

2015/09/26 04:44

投稿

axax90
axax90

スコア120

title CHANGED
File without changes
body CHANGED
@@ -15,7 +15,7 @@
15
15
  iPhoneでは、zoho smtpサーバーを使ってのメール送信は初めは無理でしたが、
16
16
  zoho側の設定を変更すると、出来るようになりました。
17
17
 
18
- ・コントロールパネル → ユーザーの詳細 → モバイルとの同期を有効
18
+ ・コントロールパネル → ユーザーの詳細 → メールアカウント → モバイルとの同期を有効
19
19
 
20
20
  railsアプリケーションから、smtpサーバーを使ってのメール送信は、
21
21
  zoho側で何か設定が必要なのでしょうか?

1

リンクを追加

2015/09/26 04:42

投稿

axax90
axax90

スコア120

title CHANGED
File without changes
body CHANGED
@@ -1,5 +1,5 @@
1
1
  StackOverFlowなども参考にしながら設定をしているのですが、うまくいきません。
2
- http://stackoverflow.com/questions/13834716/rails-actionmailer-configuration-for-zoho
2
+ [http://stackoverflow.com/questions/13834716/rails-actionmailer-configuration-for-zoho](http://stackoverflow.com/questions/13834716/rails-actionmailer-configuration-for-zoho)
3
3
 
4
4
 
5
5
  ポートを587にすると、下記のエラーが出ました。