How to start using SwiftMailer

I want to use swiftmailer to submit form results to a gmail account.

I am new to php (and new to ubuntu), and at the (awkward) stage I get lost even when reading the documentation.

Questions:

a) Where can I get the library? I placed it on my desktop. Shouldn't I go into some apache folder?

b) What will the sample message sent to the gmail mailbox look like?

+3
source share
1 answer

, - , , . , - /var/www/htdocs, , /var/www/swift. , , :

require_once '/var/www/swift/lib/swift_required.php';

. : http://swiftmailer.org/docs/messages.html

+3

Source: https://habr.com/ru/post/1759445/


All Articles