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 6682461
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T04:42:32+00:00 2026-05-26T04:42:32+00:00

I am trying to modify some php code and the previous coder has used

  • 0

I am trying to modify some php code and the previous coder has used a function like

     if (!@sendMail($email, $subj, $msg, $site_email)

is there a function or method named sendMail() in php for mail functionality.

This is called inside a method which is a class method. Since this class does not inherit from any other class i’m guessing it’s a php built in function.

But i can’t find anything on this when searching on google… i just find the normal mail() function.

Please advice.

Edit – Looks like i’ll have to dig a bit more of code and see where it’s defined. Anyone has any helpful hints for digging out the function definitions in a project that’s basically spaghetti code.

And many thanks for all the help until now.

  • 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-26T04:42:33+00:00Added an answer on May 26, 2026 at 4:42 am

    Some one would have used that function in their own class or define it globally, but finally they have to call

    bool mail ( string $to , string $subject , string $message [, string $additional_headers [, string $additional_parameters ]] )
    

    So there is only mail function.

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

Sidebar

Related Questions

I keep getting this error while trying to modify some tables. Here's my code:
I'm trying to modify some code that returns results from the database. Currently the
I am trying to modify some open source code to change how it filters
I'm currently trying to modify some HttpWebRequest functions, but I can't do it through
I have a command line that I'm trying to modify to remove some of
I am trying to modify the output stream to search/replace some XHTML tags returned
Got some basic problem again. I need to modify a function that previously returned
Read some texts about locking in PHP. They all, mainly, direct to http://php.net/manual/en/function.flock.php .
This is someone elses code that I am trying to understand and modify... The
I'm trying to modify the behavior of some web parts in Sharepoint (thus forcing

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.