* and throw dedicated exception in that case (needed for user feedback).
*/
varpgpgMIMESizeInKB=pgpMIME.Data.Length/1000;// Get size in kB
if(pgpgMIMESizeInKB>omi.GetMaxMailSize())
varmaxMailSize=omi.GetMaxMailSize();
if(pgpgMIMESizeInKB>maxMailSize)
{
thrownewAttachmentSizeException(string.Format("Failed to add PGP/MIME attachment due to size restrictions. Allowed size: {0} kB. Actual size: {1} kB.",omi.GetMaxMailSize(),pgpgMIMESizeInKB));
thrownewAttachmentSizeException(string.Format("Failed to add PGP/MIME attachment due to size restrictions. Allowed size: {0} kB. Actual size: {1} kB.",maxMailSize,pgpgMIMESizeInKB));
/// Looks up a localized string similar to In order to make the communication with this communication partner Secure & Trusted, you will have to compare the Trustwords with this communication partner and ensure they match yours..
/// Looks up a localized string similar to An internet or mail server connection is required to securely send this message. It's recommended to save this message as a draft until a connection is re-established..
<value>Um zu garantieren, dass Ihre Nachrichtenverbindung nicht nur sicher, sondern auch verifiziert ist, vergleichen Sie die Trustwords mit denen Ihres Kommunikationspartners und stellen Sie sicher, dass sie übereinstimmen.</value>
<value>Para que la comunicación con este interlocutor no solo sea segura sino también verificada, compara las Trustwords con las del interlocutor y asegúrate de que coincidan.</value>
<value>In order to make the communication with this communication partner Secure & Trusted, you will have to compare the Trustwords with this communication partner and ensure they match yours.</value>
<value>We're detecting that another p≡p device is not trusting the server for account {0}. This device is configured to trust the same server. This is most likely a configuration mistake, which can result in unexpected behavior. Please check your settings and configure all devices the same.</value>