- Issue created by @adamps
- π¦πΉAustria nofue
Much nicer space here, so airy :) OK, as I said in my emails, I have yet to get a working structure for this (and probably other) documentation. For starters I'm going to publish a first draft of the intended structure, maybe already today.
- π¬π§United Kingdom adamps
Great thanks. I added some ideas into the IS.
- First commit to issue fork.
- πΊπΈUnited States ExTexan
A huge +1 on this. It is desperately needed.
So far, my colleague and I have spent almost 20 hours trying, without success, to get SymfonyMailer working in a Drupal 9.5 site. With limited documentation, and misleading/contradictory/outdated posts from Google searches, to guide us, we've had to resort to trial-and-error, best guesses, and looking through module code - all to no avail.
Please make sure that the documentation shows actual code examples on how to accomplish each of the three "levels" of integration (from this page β ).
Also, may I add... as I said, this is desperately needed, so the first draft doesn't need to be all that pretty; the structure/format can be cleaned up later. I'd be happy for a simple page with somewhat detailed explanations, and the all-important code examples ASAP.
- π¬π§United Kingdom adamps
We all agree that it is needed. This is open source code that anyone can use for free. As the developer, I am giving lots of time for free to write this code. That's good news for everyone because swiftmailer is unsupported. Over 10000 Drupal sites are now using the module and probably quite a few of them are profitable. Probably many of the people posting issues here are getting paid to do it, but I'm not getting paid to respond.
When someone says "please make sure that ..." or "I'd be happy for ...", even adding "ASAP" I wonder who they are talking toπ. So far not a single one of these websites/developers making money from this module has offered to support the development or documentation. That's fine because I'm not doing it for the money, but let's be clear that I'll spend my free time how I chooseπ.
- πΊπΈUnited States ExTexan
Point taken. My apologies. My post was written after the aforementioned 20 hours of effort - I shouldn't have let my frustrations creep into my post.
- πΊπΈUnited States kenrbnsn New Jersey
Good documentation is sorely needed.
I am trying this module for the first time since it looks like it makes sending emails from my custom module very simple. I am not converting from Swiftmail, so I have no knowledge of that module.
Currently, I'm stuck at trying sending HTML email messages. Googling, I see references to the function setHtmlBody, but when I try to use that, I get a WSOD with this error:
LogicException: setHtmlBody function is only valid in phases 3-3, called in 1. in Drupal\symfony_mailer\Email->valid() (line 595 of modules/contrib/symfony_mailer/src/Email.php).
Drupal\symfony_mailer\Email->setHtmlBody('Please ignore this email.State:KS') (Line: 144)There should be a simple example given that does this type of function.