F
F
festus132020-04-27 17:51:50
PHP
festus13, 2020-04-27 17:51:50

How to change phpmailer email settings?

I send messages from the site using the phpmailer library.
Messages to the mail come in this form:
5ea6f1047534c944234080.png
I want my text to be instead of the mail that is indicated there, as here for example:
5ea6f164083df349305169.png
How can I change this?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
galaxy, 2020-04-27
@festus13

$mailer->setFrom('[email protected]', 'Mailer');

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question