![]() ![]() >setPassword('my_secure_gmail_password') // Your Gmail Password >setUsername(' ') // Your Gmail Username $transport = Swift_SmtpTransport::newInstance('ssl://', 465) Require_once './path/to/lib/swift_required.php' Handle large attachments and inline/embedded images with low memory Use event-driven plugins to customize the library. Send MIME compliant HTML/multipart emails. Protect from header injection attacks without stripping request data Support servers that require username & password and/or encryption. Send emails using SMTP, sendmail, postfix or a custom Transport $mail = $smtp->send($to, $headers, $body)
0 Comments
Leave a Reply. |