Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 923275
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 15, 20262026-05-15T19:09:58+00:00 2026-05-15T19:09:58+00:00

Is a SMTP server required to be able to send mail through a web

  • 0

Is a SMTP server required to be able to send mail through a web server, by using JavaMail API?
When I am using localhost for sending mail, it works, but when I upload it on server it doesnt work and gives error:

No such smtp provider

How can I solve this?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-15T19:09:58+00:00Added an answer on May 15, 2026 at 7:09 pm

    A SMTP server is always required to be able to send emails, like as a HTTP server is always required to be able to send webpages. This is regardless of the website and the mail API you’re using. A HTTP server is not the same as and does usually not include a SMTP server.

    You could make use of the SMTP server associated with your own existing email account, such as the one from your ISP or public mailboxes like Gmail, Yahoo, etc. You can find SMTP connection details at their documentation. You usually just need to know the hostname and the port number. The login details are just the same as from your email account.

    With the ISP/public mailboxes you’re however restricted to using only your own address in the From field of the email and usually also in the amount of emails you’re allowed to send at certain intervals. If you’d like to get around this, then you need to install your own SMTP server, for example Apache James, which is Java based, or Microsoft Exchange and so on.

    Once you have a SMTP server, then you’ll be able to send emails using the JavaMail API or eventually the more convenienced Apache Commons Email.


    I forgot to add, if you’re using 3rd party web hosting, then it’s good to know that most of those 3rd party web hosting providers also offers a SMTP server as well. You’d like to consult the hosting features and figure the connection details in their documentation.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Ask A Question

Stats

  • Questions 495k
  • Answers 495k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer Its probably internet connection or server side problem. Here is… May 16, 2026 at 11:24 am
  • Editorial Team
    Editorial Team added an answer If you are using .NET 4.0 and IIS 7+, you… May 16, 2026 at 11:24 am
  • Editorial Team
    Editorial Team added an answer Decreasing number equals red to green, I'd guess? Why not… May 16, 2026 at 11:24 am

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

Related Questions

Scenario is that we send out thousands of emails through SMTP server. Content is
I wonna send email through gmail smtp, but users should see my corporative From
When I send an email with the PHP Swift mailer to this server: smtp.exchange.example.com
How can I send an e-mail from a vbs script - on a machine
I'm setting up my web server on Amazon's EC2. My site used to run
I have a SQL Server 2008 procedure that sends email via sp_send_dbmail. I'm using
I remember reading somewhere that it's possible to configure your web.config to send email
I'm using system.net.mail and have a textbox that users can enter their email address
I am designing a system which will at some point require to send email
I have a standard Google Apps account. I have setup a custom domain through

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.