answersLogoWhite

0


Best Answer

SMTP stands for Simple Mail Transfer Protocol. PHP has a built-in function called mail() that takes 5 arguments. TO, Subject, Message, Headers, Additional Parameters. Hostmysite.com has some examples in their support section but below is another example. Here is the syntax you will need to use:

<?php

$to = 'nobody@example.com';

$subject = 'the subject';

$message = 'hello';

$headers = 'From: webmaster@example.com' . "\r\n" . 'Reply-To: webmaster@example.com' . "\r\n" . 'X-Mailer: PHP/' . phpversion();

mail($to, $subject, $message, $headers);

?>

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is PHP web mailer and SMTP?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Related questions

What does web mailer mean?

I think that web mailer means that you send emails on the web


What does 'Web' mean?

I think that web mailer means that you send emails on the web


Why do we use Php?

PHP is an Open Source Scripting Language. We can create Web Pages and Web Applications using PHP.


Why you need wamp server to run php file on web browser?

PHP Web Development and Running PHP application requires a lots of efforts and tools. For running PHP file on web browser we required a compiler which can convert php files to HTML files. And a web server like Wamp helps a php file to convert it to PHP. Basic Component of WAMP Server are : Wnodows : Which is our OS. Apache : Web server for responding with web pages. MySql : Databases Query and PHP


What does the PHP stand for in free PHP web hosting?

PHP, or hypertext perprocessor, is a scripting language used in web development. A web hosting plan may support the use of PHP, or even other similar languages like Python or Perl.


What web crawlers use PHP?

PHPCrawl, PHP Parallel Web Scraper I'm sure there are many others.


What is the default extension that most Web servers use to process php scripts?

PHP files extension is .php


How can you run a PHP script?

A php script can only be executed within a Web server that runs php.


What use of php?

PHP is used for creating web portals, Websites, E-commerce Platform , CMS , ERP Systems, Web Services created in PHP are used in Android Applications.


Which kind of service is php hosting?

PHP is a scripting language used for web servers and application development. PHP hosting is a web hosting service that allows for more complex site because is supports the PHP scripting language.


Difference between apache and PHP?

Apache is a web server. PHP is a scripting language.


What is the php hosting?

Php hosting is a popular scripting language in which produces dynamic web pages. An example of a dynamic web page is Facebook. Facebook needs php hosting as it has a login page. Shopping pages are also php hosted.