Skip to main content
added email sources first one generated from gmail and the second generated from outlook
Source Link
zokito
  • 692
  • 4
  • 13

I have an issue with processing inbound emails sent from MS Outlook. To put it simple no attachments are received in the class (nor text nor binary). Email definitely has attachments since i cc-ed the email to my gmail account.

If the email with attachment is sent from the gmail account everything works well.

Any thoughts or experiences?

the code:

global Messaging.InboundEmailResult handleInboundEmail(Messaging.inboundEmail email, Messaging.InboundEnvelope env) 
    {
        System.debug(email);//no attachments all attachment binary and text are null
....}

I think this source could be more important:

Gmail source:

Content-Type: text/csv; charset=UTF-8; name="Karol_csv_short.csv"  
Content-Disposition: attachment; filename="Karol_csv_short.csv"  
Content-Transfer-Encoding: base64
X-Attachment-Id: f_hytz9oxg0

Outlook source

Content-Type: application/vnd.ms-excel; name="Karol_csv_short.csv"
Content-Disposition: attachment; filename="Karol_csv_short.csv"
Content-Transfer-Encoding: base64
X-Attachment-Id: 1cad76b11d272e29_0.1

So the issue could be that the application/vnd.ms-excel content type is not understood by salesforce?

Thanks

I have an issue with processing inbound emails sent from MS Outlook. To put it simple no attachments are received in the class (nor text nor binary). Email definitely has attachments since i cc-ed the email to my gmail account.

If the email with attachment is sent from the gmail account everything works well.

Any thoughts or experiences?

the code:

global Messaging.InboundEmailResult handleInboundEmail(Messaging.inboundEmail email, Messaging.InboundEnvelope env) 
    {
        System.debug(email);//no attachments all attachment binary and text are null
....}

Thanks

I have an issue with processing inbound emails sent from MS Outlook. To put it simple no attachments are received in the class (nor text nor binary). Email definitely has attachments since i cc-ed the email to my gmail account.

If the email with attachment is sent from the gmail account everything works well.

Any thoughts or experiences?

the code:

global Messaging.InboundEmailResult handleInboundEmail(Messaging.inboundEmail email, Messaging.InboundEnvelope env) 
    {
        System.debug(email);//no attachments all attachment binary and text are null
....}

I think this source could be more important:

Gmail source:

Content-Type: text/csv; charset=UTF-8; name="Karol_csv_short.csv"  
Content-Disposition: attachment; filename="Karol_csv_short.csv"  
Content-Transfer-Encoding: base64
X-Attachment-Id: f_hytz9oxg0

Outlook source

Content-Type: application/vnd.ms-excel; name="Karol_csv_short.csv"
Content-Disposition: attachment; filename="Karol_csv_short.csv"
Content-Transfer-Encoding: base64
X-Attachment-Id: 1cad76b11d272e29_0.1

So the issue could be that the application/vnd.ms-excel content type is not understood by salesforce?

Thanks

formatted code
Source Link
crmprogdev
  • 41k
  • 9
  • 58
  • 116

I have an issue with processing inbound emails sent from MS Outlook. To put it simple no attachments are received in the class (nor text nor binary). Email definitely has attachments since i cc-ed the email to my gmail account.

If the email with attachment is sent from the gmail account everything works well.

Any thoughts or experiences?

the code: ' global Messaging.InboundEmailResult handleInboundEmail(Messaging.inboundEmail email, Messaging.InboundEnvelope env) { System.debug(email);//no attachments all attachment binary and text are null ....} '

global Messaging.InboundEmailResult handleInboundEmail(Messaging.inboundEmail email, Messaging.InboundEnvelope env) 
    {
        System.debug(email);//no attachments all attachment binary and text are null
....}

Thanks

I have an issue with processing inbound emails sent from MS Outlook. To put it simple no attachments are received in the class (nor text nor binary). Email definitely has attachments since i cc-ed the email to my gmail account.

If the email with attachment is sent from the gmail account everything works well.

Any thoughts or experiences?

the code: ' global Messaging.InboundEmailResult handleInboundEmail(Messaging.inboundEmail email, Messaging.InboundEnvelope env) { System.debug(email);//no attachments all attachment binary and text are null ....} '

Thanks

I have an issue with processing inbound emails sent from MS Outlook. To put it simple no attachments are received in the class (nor text nor binary). Email definitely has attachments since i cc-ed the email to my gmail account.

If the email with attachment is sent from the gmail account everything works well.

Any thoughts or experiences?

the code:

global Messaging.InboundEmailResult handleInboundEmail(Messaging.inboundEmail email, Messaging.InboundEnvelope env) 
    {
        System.debug(email);//no attachments all attachment binary and text are null
....}

Thanks

added 245 characters in body
Source Link
zokito
  • 692
  • 4
  • 13

I have an issue with processing inbound emails sent from MS Outlook. To put it simple no attachments are received in the class (nor text nor binary). Email definitely has attachments since i cc-ed the email to my gmail account.

If the email with attachment is sent from the gmail account everything works well.

Any thoughts or experiences?

the code: ' global Messaging.InboundEmailResult handleInboundEmail(Messaging.inboundEmail email, Messaging.InboundEnvelope env) { System.debug(email);//no attachments all attachment binary and text are null ....} '

Thanks

I have an issue with processing inbound emails sent from MS Outlook. To put it simple no attachments are received in the class (nor text nor binary). Email definitely has attachments since i cc-ed the email to my gmail account.

If the email with attachment is sent from the gmail account everything works well.

Any thoughts or experiences?

Thanks

I have an issue with processing inbound emails sent from MS Outlook. To put it simple no attachments are received in the class (nor text nor binary). Email definitely has attachments since i cc-ed the email to my gmail account.

If the email with attachment is sent from the gmail account everything works well.

Any thoughts or experiences?

the code: ' global Messaging.InboundEmailResult handleInboundEmail(Messaging.inboundEmail email, Messaging.InboundEnvelope env) { System.debug(email);//no attachments all attachment binary and text are null ....} '

Thanks

Source Link
zokito
  • 692
  • 4
  • 13
Loading