@aik099, are you using one of PHPMailer or PHPMailerLite? If so, does reverting rPb7ad48aa (PHPMailerLite) or rP54492009 (PHPMailer) resolve the issue for you?
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Aug 29 2014
✘ Merged into T5956.
◀ Merged tasks: T5996.
Aug 26 2014
◀ Merged tasks: T5972.
Aug 25 2014
I can't reproduce any of this locally. We've made some adjustments to how we communicate with SendGrid, and now have an option to send HTML mail bodies (T992) which will be selectable as a global default once it sorts out a bit. Hopefully some of that will resolve things.
SendGrid now documents this as existing / working, and it works correctly locally, so I think this has been fixed on their side. Here is a mail I sent using CC via the SendGridAdapter:
Bleh.
Yep, reverting rPb7ad48a gets everything back to normal.
Sorry! ;)
Does reverting that fix it? SendGrid's MTAs have a similar issue (all newlines are doubled) without that patch, so if reverting fixes things we might need to do some kind of really silly "if the server is X, use this encoding; if the server is Y, use this encoding" thing.
Yep, rPb7ad48a is probably it, we're using PHPMailerLite
I think this would satisfy T4226 for me.
◀ Merged tasks: T4226.
The SendGrid API now claims that this works, and I paid them the $0.39 I owed them to get my account reactivated, so I'm going to see if I can drive this to some sort of conclusion.
Aug 24 2014
Aug 21 2014
I paid the $0.39 I owed them so they let me back in.
Aug 20 2014
My SendGrid account was apparently terminated in January for nonpayment of $1, on a "free" account which had sent 256 emails that month. I also can't figure out how to pay them the $1 I owe them. I filed a support ticket to try to resolve this and am waiting on them.
Add myself as a follower.
Aug 16 2014
You should also be able to put #project in the email body now I think, but that's not really the same use case.
Tentatively, my plan for this is just to let you set several "bugs" addresses, and then use Herald rules to do all the routing. We already have "is newly created" and "content source", so we'd just have to add "receiving email address", and then you could write a rule like:
Aug 15 2014
Aug 14 2014
Some of these cases, like mentions, are pretty clear-cut.
Aug 13 2014
Closed by commit rPdf28d751f587.
Cool. I'll chop em up and send patches.
If you want to do the diff thing before remarkup that's OK, but I think it should be separate from the basic infrastructure patch.
I mean, make v1 also do diffs (because they are so easy compared to remarkup), which is pretty much D9375 plus minor fixes plus per-user config. I can also rip that part out if you'd prefer, although we found it to be useful.
Yeah, I think a v1 with no remarkup rendering is totally fine.
Yeah, this needs some poking around, although I'm leaning towards teaching PhutilRemarkupBlockRule how to render things for email.
There's just one render target right now I think. The text rendering just dumps the remarkup as is.
Yeah, it's probably going to be a mess. I think adding a third rendering target (Email With Inline CSS vs HTML vs Text) might be easier than trying to do post-processing safely, although maybe post-processing isn't too bad. XSS isn't too threatening in email, and we can trust that the input is well-formed, so maybe we can just look for class="..." inside tags and replace that with style="...". Maybe worth taking a shot at first, and we can add a third target if it's a huge gross mess?
- Cool, I'll add the formatting option.
- Correctly rendering remarkup blocks might be a little hairy, as it requires inlining CSS. Maybe we need to teach PhutilRemarkupBlockRule how to render tags for email, or figure out some post-processing css inline pass?
I think we can move this forward, but want to be slightly more gradual about it:
◀ Merged tasks: T5137.
✘ Merged into T5791.
I think the most practical attack on this is T5791, roughly putting all the headers in the footer of the message.