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

  • SEARCH
  • Home
  • 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 8687835
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T23:12:28+00:00 2026-06-12T23:12:28+00:00

I’m using PHP, and now i found that the php native mail() method is

  • 0

I’m using PHP, and now i found that the php native mail() method is finally also the smtp.

Ok lets say i am using very simple:

mail("david@gmail.com","hello","hello");

If this code fails, can i say it is SMTP and/or connection to SMTP Server problem?
What i want to discover finally is:

  • So can i say that, we are ONLY using smtp finally (to send) ?
  • Or, any other mail sending systems we can use (in PHP at least) ?

I’m asking this knowledge because:

  • I want to confirm that, whenever we have problems in sending mails (by using flawless coding), so that is the problem about SMTP Server & its Configurations etc. Can i say that?

Note: Please, I do not have enough knowledge in mail systems. So maybe i need a brief explanation about major different mail systems (if there is something else then smtp).

  • 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-06-12T23:12:29+00:00Added an answer on June 12, 2026 at 11:12 pm

    Yes, we are only using SMTP to send email. In the world there is actualy no alternative today – absoultely most of mail servers use SMTP for sending mail.

    Actually, it depends on what do you need exactly. For example, if you need to send email with your PHP script and you don’t want to use ‘mail()’and SMTP directly on your server, you could use web-mail.

    I mean if you have any email account on gmail or yahoo or whatever email-system, you can send email with web interface of the mail service. So, you could use the same web interface in your PHP script to send email.

    Sure, you have to code this way in PHP (it is not like just execute some PHP-function). And, sure, after you sent your email with web interface the mail server will send it forward finally using SMTP protocol.

    UPDATED

    whenever we have problems in sending mails (by using flawless coding),
    so that is the problem about SMTP Server & its Configurations

    Usually, SMTP server will send you an error message or an email with explanation what is wrong. If you have issues with mail sending, it could be not only SMTP related problems, but network configuration related issues or your hoster, or something else.

    For example, many hosters blocks TCP port 25 (the port SMTP is working on). This is not an SMTP configuration issue, but hoster’s firewall configuration.

    So… actually it all depends on the exactly situation.

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

Sidebar

Related Questions

That's pretty much it. I'm using Nokogiri to scrape a web page what has
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
this is what i have right now Drawing an RSS feed into the php,
I'm using v2.0 of ClassTextile.php, with the following call: $testimonial_text = $textile->TextileRestricted($_POST['testimonial']); ... and
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
I'm trying to create an if statement in PHP that prevents a single post
I want to count how many characters a certain string has in PHP, but
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I'm new to using the Perl treebuilder module for HTML parsing and can't figure
I have a small JavaScript validation script that validates inputs based on Regex. I

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.