Closed GoogleCodeExporter closed 9 years ago
Can you please state exactly what doesn't work 8with an example)?
Original comment by sstrickr...@googlemail.com
on 16 May 2015 at 10:50
Outlook will refuse to send the email. After you press "Send" button the message editor will close, like if it was sent. But immediately you'll see generated error message in your Inbox. No SMTP session is done.
I have specified the text of error message.
TortoiseGIT puts apostrophes around destination address in generated email message, and this is what Outlook dislikes.
Original comment by sonic.am...@gmail.com
on 6 Jun 2015 at 6:38
In my tests TortoiseGit does not put apostrophes around destination address in
generated email message and it works for me.
Original comment by sstrickr...@googlemail.com
on 6 Jun 2015 at 9:02
Is it difficult to rebuild TortoiseGIT from source ? Looks like i'll have to dive into it myself.
Original comment by sonic.am...@gmail.com
on 16 Jun 2015 at 6:03
No, it's easy. Just clone (recursively) and then build.
See https://raw.githubusercontent.com/TortoiseGit/TortoiseGit/master/build.txt
Original comment by sstrickr...@googlemail.com
on 16 Jun 2015 at 6:05
I can reproduce it.
When outlook is invoked, the mail address is at hyperlink status. (no
apostrophes around)
The mail will be sent out, but will get another failed message mail from mail
server soon.
If re-type it, the hyperlink status is gone, this will be all OK.
So, it might be not related to apostrophes.
----
@sonic
Further Debugging information:
1. Enable Advanced setting "Debug" (Set to true).
You will see a popup Message Box and use "Ctrl + C" to copy that command information.
Paste it to somewhere, it looks like:
---------------------------
TortoiseGitProc
---------------------------
/command:formatpatch /path:"D:\TortoiseGit" /hwnd:000000000005079A
---------------------------
確定
---------------------------
2. Right click on TortoiseGitProc project in MSVC, then click "Set as StartUp
Project".
3. Open the project properties dialog, use the command you captured for
Debugging/Command Arguments.
Ex: /command:formatpatch /path:"D:\TortoiseGit"
(I usually ignore the /hwnd option.)
4. Set some break points
The first one could be line 2269 of D:\TortoiseGit\src\TortoiseProc\AppUtils.cpp
It's in function CAppUtils::SendPatchMail().
Say
if (dlg.m_PathList.IsEmpty())
The second one could be line 30 of D:\TortoiseGit\src\TortoiseProc\ProgressCommands\SendMailProgressCommand.cpp
It's in SendMailProgressCommand::Run()
Say
return m_SendMail->Send(m_targetPathList, list) == 0;
5. Run Debug
Good luck to you. ^_^
Original comment by yuelinho...@gmail.com
on 17 Jun 2015 at 3:26
Attachments:
This issue was closed by revision c8b61e0e1f69.
Original comment by sstrickr...@googlemail.com
on 19 Jun 2015 at 12:14
Original issue reported on code.google.com by
sonic.am...@gmail.com
on 8 May 2015 at 8:25