Commit Graph

64 Commits

Author SHA1 Message Date
Niklas ccdeae108a IMAP section in the Gmail example (#1117)
Add IMAP example into gmail example
2017-08-02 16:20:32 +02:00
Marcus Bointon dbbc1397c4
Fix XSS vuln in example code: CVE-2017-11503 2017-07-26 20:02:31 +02:00
Haci Murat Yaman 1f974d0ab3 updated misleading comment on sample for smtp/google via xoauth2 #890 (#1019)
* updated misleading comment on sample code for smtp.google.com via xoauth2

* undo change on gitignore
2017-04-03 19:25:48 +02:00
Marcus Bointon b18cb98131
Merge remote-tracking branch 'origin/master' 2017-01-09 10:33:47 +01:00
Marcus Bointon 6349f4cf06
Emoji in test content 2017-01-05 17:53:20 +01:00
Marcus Bointon a39c742bd7
Example cleanup 2017-01-05 13:06:20 +01:00
Marcus Bointon c6713cdbe2
Add simple contact form example 2017-01-05 13:05:53 +01:00
ka7 fa04e02c9a spelling fixes (#949) 2017-01-03 12:10:00 +01:00
corentinheadoo 66cf4fbaff Cleaning js (#858)
* Clean some js file

* Cleaning code
2016-10-17 18:17:18 +02:00
Bruno Ribeiro 39a2e3a620 fix warning (#761)
fix message <b>Warning</b>:  array_key_exists() expects parameter 2 to be array when is bad auth
2016-07-06 09:29:37 +02:00
Marcus Bointon 1361047a5d Add DKIM example 2016-06-06 10:54:56 +02:00
Marcus 177839e22f Fix fetching error messages, fixes #679 2016-04-07 09:24:49 +02:00
Marcus 0e992c63ff Improve SMTP check example 2016-03-29 10:28:12 +02:00
Marcus f0a6839a05 Improve send file examples 2016-03-29 10:05:36 +02:00
Rishi Jash 0f53c79239 Add example of sending multiple files upload
Simple example for sending multiple files using PHPMailer
2016-03-29 13:09:24 +05:30
François B 4532cec50d Improve some comments and minor improvements
- Define an $error_message and reuse it, instead of recreating the
error message 3 times
- Use in_array() check instead of a regex
2015-10-13 22:38:15 +02:00
François B b87462979b Change line endings from CRLF to LF
All files in PHPMailer have LF line endings, except those two.
Harmonize line endings to LF for consistency.
2015-10-02 18:52:29 +02:00
Synchro b6f421c5ff Clean up 2015-09-22 08:16:40 +02:00
Nibbels 6672f36063 Update signed-mail.phps 2015-09-22 01:57:45 +02:00
Nibbels b58021454c Update signed-mail.phps 2015-09-22 01:53:29 +02:00
François B e1964ddce4 Make sure PHP default character encoding is UTF-8
Needed for htmlentities() call on line 173
2015-09-18 00:09:40 +02:00
François B 20112cc8fe Prefer setFrom() over separate From and FromName 2015-09-18 00:06:58 +02:00
Synchro 57d3d1fee6 Merge remote-tracking branch 'remotes/upstream/master' into xoauth 2015-08-25 17:12:33 +02:00
Wolfgang Jentner b8fdec8fd5 Added an example file explaining how to send signed emails 2015-08-22 22:59:51 +02:00
Greg Rundlett c1c20f203b Update gmail.phps
The internet is littered with people trying to figure out why PHPMailer doesn't work for them with GMail.  ISPs like Digital Ocean do not support SMTP traffic over IPv6, but Google is IPv6 ready so PHPMailer waits a long time trying that before it tries IPv4.  That wait is either a major bottleneck, or a failure point as execution timeouts come into play.
See https://www.digitalocean.com/community/questions/outgoing-connections-on-port-25-587-143-blocked-over-ipv6
and
https://stackoverflow.com/questions/20068484/phpmailer-using-gmail-smtp-slow-when-sending-emails for example
2015-07-17 12:58:51 -04:00
Synchro 916ba4b8ac Correct oauth property names 2015-06-03 08:48:39 +02:00
Synchro d24a921e52 Changed AuthType name to 'XOAUTH2'
Tested, fixed examples
Improved token script
Code cleanup
2015-05-21 03:12:17 +02:00
Synchro ed41c8310d Docs 2015-05-20 09:06:40 +02:00
Synchro e874b2a14b Code cleanups 2015-05-19 17:36:29 +02:00
sherryl4george b4cf92e843 XOAUTH Changes 2015-05-19 16:13:33 +02:00
Synchro ab36b539a6 Expose stream context options 2015-04-27 21:18:12 +02:00
Synchro 50eac8739f Use multibyte text in tests
Add explicit test for UTF-8 with embedded images, see #279 and #377
Add ISO-8859-1 test
2015-03-25 19:22:55 +01:00
Synchro cee5e9b442 Add example of sending a file upload 2014-12-24 10:40:13 +01:00
Synchro 851da29103 Remove stray license file 2014-12-17 16:07:19 +01:00
Synchro 127d26ef3c Remove 'advanced' html2text converter to resolve license clash, fixes #232
Allow injection of custom html2text converter, amend tests to cover it
Update README and related docs
2014-12-17 16:07:02 +01:00
Synchro ba4ece8e5b Don't set WordWrap in readme example, add comments about usage including 78 as a good value to use, fixes #327 2014-12-06 14:36:15 +01:00
Synchro a1258f90e5 Fix various typos, js MIME type, thanks to @fbonzon, fixes #296 2014-10-12 11:17:17 +02:00
Ricardo bad4392df1 Second Smallest PR 2014-09-28 02:25:22 -03:00
David Prévot 8fc2c93272 Drop useless executable bit 2014-09-27 11:34:07 -04:00
Synchro e8c61ada87 Add SMTP example
Simplify other code examples
2014-09-25 14:18:57 +02:00
Synchro c2ab690546 Reorder code generation so it still works if an exception is thrown. 2014-08-31 20:02:47 +02:00
Synchro 6365f4d6fd PHPDoc cleanup - consistent naming of integer and boolean types 2014-06-06 09:45:38 +02:00
Synchro 608c301af9 PHPDoc cleanup - consistent naming of integer and boolean types 2014-06-06 08:01:56 +02:00
Synchro e3314c44ed Fix body setting in list example 2014-04-24 14:39:33 +02:00
michaelkonecny 213bdd6de4 host declaration was there twice 2014-04-09 18:29:41 +02:00
amatosg b0e2ccc855 Update gmail.phps
making it easier to read.
2014-04-04 16:00:44 -05:00
Synchro 86994962e3 Make text in logo image more readable 2014-04-03 12:25:08 +02:00
Marton Tasnadi 2e7b440784 HTML5 meta charset 2014-03-29 20:08:22 +01:00
Synchro 943e0bd529 New graphics 2014-03-10 16:25:31 +01:00
Synchro 73093a32a3 Add fake pop server and POP-before-SMTP tests.
Update POP before SMTP example to use new static method.
2013-08-02 16:19:01 +02:00