Comments (1)
Here are the properties I used to get smtp.live.com to work with
javamail-android:
props.put("mail.smtp.auth", "true");
props.put("mail.smtp.starttls.enable", "true");
props.put("mail.smtp.port", _port); //This was 25
props.put("mail.smtp.socketFactory.port", _sport); //This was 587
props.put("mail.smtp.socketFactory.fallback", "false");
I was using a GMail sample to do it and found that this line was interfering
with the smtp.live.com mail sending, so I commented it out:
//props.put("mail.smtp.socketFactory.class",
// "javax.net.ssl.SSLSocketFactory");
If I didn't comment it out, this is the error message I'd get
javax.mail.MessagingException: 530 5.7.0 Must issue a STARTTLS command first
Original comment by [email protected]
on 23 Apr 2011 at 1:19
from javamail-android.
Related Issues (20)
- Get Messages via POP HOT 2
- Deadlock Issuing IMAP Command while Idle running. HOT 1
- Does anyone know how to download attachment?? HOT 4
- Not trusted server certificate HOT 4
- GPL License
- Getting error while using javamail-android HOT 2
- Can't get old e-mails
- Licensing
- android 3.2?
- Tried to build it: bootstrap/ant-common.xml (No such file or directory) HOT 2
- Unable to build project missing bootstrap HOT 2
- i can not send mail with android 4.0.4 HOT 3
- Can´t get message body
- occurs OutOfMemorry error
- Android Lint error
- Problem regarding Licence
- Gmail detects Suspicious login while using this email client HOT 1
- Patch for /trunk/additionnal/src/org/apache/harmony/awt/internal/nls/MessagesAll.java
- Move project to Github
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from javamail-android.