Double Dot In Url #252
Comments
Also reported here but no action taken |
http://tools.ietf.org/html/rfc5321#section-4.5.2 o Before sending a line of mail text, the SMTP client checks the o When a line of mail text is received by the SMTP server, it checks Check why your mail server does not respect RFC Xavier On Thu, Oct 11, 2012 at 10:20 AM, berridgeab notifications@github.comwrote:
Xavier De Cock |
Ok no worries, i'll close down if its definitely a mail server issue. |
Do a test manually, the trick is to have a dot as first character of a line. So a simple HELO SMTP Should get you the info you need ;) Xavier.
Xavier De Cock |
Hi Thanks for your help but I would not know where to execute this command. I'm not too knowledgeable with mailservers etc im just their PHP developer :( |
oh, just telnet on port 25 ;) On Thu, Oct 11, 2012 at 1:11 PM, berridgeab notifications@github.comwrote:
Xavier De Cock |
Dude your the best I learn something new everyday :) The mail response I got was - This is an RFC Test for my mail server I'm guessing because the double dot is not there the mail server is configured wrong or the mail server has a bug in it? |
no, this is good, the strange part is that you should not receive your dot On Thu, Oct 11, 2012 at 2:20 PM, berridgeab notifications@github.comwrote:
Xavier De Cock |
The thing is the URL is not on a new line or anything. It just randomly adds a dot into the address breaking the URL. Im only using the most basic mail transport. Thanks for your assistance anyway. |
I'm having the same problem... random double dot in URL's thus breaking them. Please help!! This seems like a minor bug that's being left to persist. Swift 5.0.1 |
same problem here, please fix it, the users who get the emails don't understand the difference between, "URL is malformed" or "service is down" |
Hello, Can you please provide a reproducable test case ? Your MTA name, version and configuration? Because dot stuffing is required per RFC, so we need to be sure the bug is Thanks, Xavier. On Thu, Aug 8, 2013 at 11:43 AM, hsteininger notifications@github.comwrote:
Xavier De Cock |
For note: http://tools.ietf.org/html/rfc5321#section-4.5.2 so we can limit discussions to the cases outside "double dot when dot is Thanks all. On Thu, Aug 8, 2013 at 11:45 AM, Xavier De Cock xdecock@gmail.com wrote:
Xavier De Cock |
Sorry for answering so late. Well, i have a php-script, which reads data from an mysql-DB, with this data i generate some URLs, which are not malformed, i put together an email with swiftmail to send it to "To" and "CC", send it to an smtprelay, which is postfix (2.7.1-1+squeeze1), the relay give the mails to the real mailserver, which is also postfix (2.9.6-2). Hope this helps. If you need more info, just let me know. Regards. |
I'm having similar issues, however it's with a double dot in a price as apposed to a URL. It's only seems to be happening on BCC, verified I'm only sending a single decimal point in the email to the customer, however our BCC recipient will see a double decimal point. |
Same problem here. Tested with different Mailservers. In my case only Bcc-Recipients are affected. A particular text with a length that happens to be exact that long that a point "." at the end of a sentence is smtp-transferred at the beginning of a new line (due to encoding, "über" becomes "=C3=BCber", long lines are transferred wrapped but with a "=" at that position where the additional wrap occurs) is always displayed with two dots at the end of that sentence. So even if the doubled dot seems not to be at the beginning of a new line, internally it happens to be a dot at the beginning of a new line. Seems to be the same problem as described here So I tried the fix suggested here, and replaced this code: with this line of code: This workaround fixes this bug for me (but since I'm sending quite large mails it's far from perfect to disable the cache...) Seems like it's NOT a problem with the Mail-Server, but with the escaping of already escaped content after reading it back from cache. |
I had the same issue in my body. It happened only on some urls. For some reason when my url ended like: I had the same issue but in the body of the email. It adds an extra dot if your string has a dot as a beginning character(Beginning character of the filtered body). This fixed the issue for me. But I agree this isn't an ideal solution. I hope that the patch gets added in #62 |
Solves Bug swiftmailer#400 swiftmailer#252 and possibly others
…cords HipChatHandler: combine batch records and send as one
Hello
Swift Mailer 4.2.1
PHP 5.3.5
Windows Server 2008
Swift Mailer seems to be adding a double dot to my message at random points. It seems to occur with some messages but not others. Always seems to affect a URL I add to the email. Reading through known issues this seems to be a known problem however none of the suggestions fixed it.
PHP Code as follows -
The text was updated successfully, but these errors were encountered: