T
T
Theory Theory2021-05-06 06:43:30
Iron
Theory Theory, 2021-05-06 06:43:30

How is PHPMailer different from regular mail() functions??

Why PHPMailer is needed if regular mail() works well

Answer the question

In order to leave comments, you need to log in

4 answer(s)
A
Alexander, 2018-10-12
@Amffore

Forget the memory count, memory doesn't matter!
Get gtx! And here's why you should take it:
1) Process technology - 16nm, in amd - 14
2) GPU frequency - 1506 MHz versus 1284 MHz
3) Video memory frequency (which is much more important than its number) - 8k, versus 7k for AMD
And more Lots of other cool stuff from nvidia!

V
VoidVolker, 2018-10-13
@VoidVolker

Take it with 6GB of memory - three gigabytes will not be enough for some modern games, for example: https://www.dns-shop.ru/product/9af2bfa66dbc3330/v...

X
XCemaXX, 2018-10-15
@XCemaXX

In such a price range, I would look after myself bu 980. It will be in terms of performance like 1060 6GB, and the price is 12-15k. They have 4GB of memory.
But it should be borne in mind that these are additional troubles for carrying out any checks for the full performance of the card.

T
Tema Smirnov, 2021-05-06
@Narbek

The function mail()in PHP essentially calls the mail program built into the system - by default, this is sendmailin linux (it is also possible to use qmail, postfix, but for this you must first configure PHP through the .ini file).
More about Mail in PHP: https://www.php.net/manual/ru/book.mail.php
And about the main problem of cross-platform use: https://habr.com/ru/post/26518/
PHPMailer is a powerful a library that implements mail transports rather than using sendmailit as a standard mail()feature. It has a large number of features out of the box, such as (only a small part is presented in the list):

  • full support for SMTP, Qmail, POP3, IDN, DKIM;
  • SSL and TLS support;
  • works on any win32 and *nix platform;
  • debugging flexibility;
  • manually defined email headers;
  • combining multiple messages and attachments;
  • built-in image support;
  • can send letters with multiple: recipients (TO), copies (CC), BCC and REPLY-TO;
  • layered/alternative messages for clients who cannot read HTML emails;
  • support for 8 bit, base64, binary mode, and printable format;
  • word wrap (word wrap);
  • messages in the form of HTML (templates);
  • the library has been tested on many SMTP servers: Sendmail, qmail, Postfix, Imail, Exchange, Mercury, Courier;
  • the library is used under the hood of such giants: WordPress, Drupal, 1CRM, SugarCRM, Yii, Joomla;

You can read more here:
https://jino.ru/journal/articles/pochta-phpmailer/
https://www.sesmikcms.ru/pages/read/ischerpyvajusc...
In addition to PHPMailer , there are other cool libraries , I leave the list for For those interested:
Swiftmailer
(Symfony) Mailer
If you're a heavy user of a feature mail()in PHP development and haven't run into problems using it on hosts or on your own servers without a properly configured environment, then mail()it's perfect for you. And when you run into problems or want to have more features out of the box, the advantages of PHPMailer and other specialized libraries become obvious.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question