Forums Register Login

Unable to send mail

+Pie Number of slices to send: Send
What I did:
1. I am connected to the internet using my phone.
2. I downloaded apache-james 2.3.2; executed run.bat from bin with default settings. No changes were made.
3. I have mail.jar and activation.jar in my build path
4. Used this code from a tutorial website



Question: What am I missing out?
+Pie Number of slices to send: Send
What do you mean? What happens if you run this code? But since you said nothing about settings up accounts or a DNS MX record, and are using an external sender address, it looks like you are setting up a send-only server (i.e., just SMTP, not POP or IMAP). In which case the question would be: why use a mail server at all? Why not use just the JavaMail API?
A teeny tiny vulgar attempt to get you to buy our stuff
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 758 times.
Similar Threads
Need Help in creating a Java Mailer
Confusion in JavaMail
javax.mail package
Can not send mail to other mail server
how to send mail using gmail server
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 04:06:22.