Comments (4)
Hi @domshifter !
I never heard about this issue.
Can you give to us the steps to reproduce the problem?
from mailsystem.net.
Hi @reinaldocoelho , thank you for your fast reply!
We used Comodo to generate a certificate which we then used to sign the mails.
I tested three scenarios:
-
Send a mail from my dev machine, then fetch it with my application which also runs on my machine. This works (maybe because i got the certificate installed on my machine which i used to sign the mails?)
-
Send a mail from my dev machine, then fetch it with my application on another dev machine which is in the same domain. This also works.. (maybe because the two pc's are in the same domain?)
-
Send a mail from outside our domain, then fetch it on my local running application. In this case, i'm not able to get the attachments.
Our code looks something like this:
_client = new Imap4Client();
_client.ConnectSsl(settings.ServerName, settings.Port);
var inbox = _client.SelectMailbox("inbox");
var messages = inbox.SearchParse("ALL");
foreach (var message in messages)
{
foreach (MimePart attachment in message.Attachments)
{
//process attachment
}
}
_client.Disconnect();
from mailsystem.net.
@domshifter only the attachments is out of message?
Can you get both EML files and attach to this issue to compare that?
You can use the methods Message.StoreToFile() or Message.ToMimeString().
from mailsystem.net.
Closing for no answer.
from mailsystem.net.
Related Issues (20)
- [ALERT] Too many simultaneous connections. HOT 1
- BCC Visible when sending HOT 16
- [Error] System.ArgumentOutOfRangeException: Index and length must refer to a location within the string.
- Connection with Office365 HOT 2
- variables not either undeclared or was never assigned
- Last char of subject is ')' HOT 1
- delete
- "Index and length must refer to a location within the string" when using SINCE 24-Apr-2019 HOT 1
- IMAP4 - Not able to fetch calendar/tasks/contacts mailboxes messages using IMAP4 from exchange server.
- UnknownDispositionMimeParts properties blank
- Not getting notification from Office365
- SelectMailbox function may hang
- Checking gmail INBOX gives exception
- How to get spam email?
- S/MIME signing - wrong hash
- Meeting Request via SMTP HOT 2
- Can we manually set read unread option
- imap Openxchange.eu problem, SSL new version? HOT 1
- OAuth - IMAP - Office365 HOT 3
- Code Examples
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mailsystem.net.