मैं निम्नलिखित कोड का उपयोग कर रहा नहीं पा रहा हूँ: -मैं याहू पर ईमेल भेजने के लिए जावा मेल एपीआई से याहू मेल भेजने के लिए
Properties props1 = new Properties();
EmailAuthenticator authenticator = new EmailAuthenticator(account);
props1.setProperty("mail.transport.protocol", "smtps");
props1.setProperty("mail.host", "smtp.mail.yahoo.com");
props1.put("mail.smtp.auth", "true");
props1.put("mail.smtp.port", "587");
props1.put("mail.smtp.starttls.enable", "true");
smtpSession = Session.getInstance(props1, authenticator);
smtpSession.setDebug(true);
लेकिन मैं javax.mail.MessagingException [EOF]
मैं पिछले 5 दिनों से इस समस्या का सामना करना पड़ रहा का सामना करना पड़ रहा मेरे LogCat है: ---
Message-ID:<[email protected]>
Subject: Hello
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
554 Transaction failed : Cannot send message due to possible abuse; please visit http://postmaster.yahoo.com/abuse_smtp.html for more information
DEBUG SMTP: got response code 554, with response: 554 Transaction failed : Cannot send message due to possible abuse; please visit http://postmaster.yahoo.com/abuse_smtp.html for more information
RSET
DEBUG SMTP: EOF: [EOF]
javax.mail.MessagingException: [EOF]
com.sun.mail.smtp.SMTPTransport.issueCommand(SMTPTransport.java:1481)
com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1512)
com.sun.mail.smtp.SMTPTransport.finishData(SMTPTransport.java:1321)
at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:637)
javax.mail.Transport.send0(Transport.java:189)
javax.mail.Transport.send(Transport.java:118)
com.privymo.javamail.EmailManager.sendMail(EmailManager.java:203)
मदद कृपया धन्यवाद,
यकीन है लेकिन देखना होगा कि आपने मेल सेवा (मेल भेजने) तक पहुँचने के लिए ठीक से, uerid गुजर रहे हैं pwd – kumar
उपयोगकर्ता नाम और पासवर्ड – user1921139
@ user1921139 आप इसे हल किया ठीक कह रहे हैं ?? –