fix 220646, when forwarding message as attachment, set the filename to include the .eml extension, patcy by mkmelin+mozilla@iki.fi, r=bienvenu, sr=mscott

This commit is contained in:
bienvenu%nventure.com 2006-05-20 23:26:42 +00:00
Родитель c665822dd0
Коммит 0b843da2a8
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1874,7 +1874,7 @@ nsresult nsMsgCompose::CreateMessage(const char * originalMsgURI,
nsCOMPtr<nsIMsgAttachment> attachment = do_CreateInstance(NS_MSGATTACHMENT_CONTRACTID, &rv);
if (NS_SUCCEEDED(rv) && attachment)
{
attachment->SetName(subject);
attachment->SetName(subject + NS_LITERAL_STRING(".eml"));
attachment->SetUrl(uri);
m_compFields->AddAttachment(attachment);
}