Skip to main content
replaced http://salesforce.stackexchange.com/ with https://salesforce.stackexchange.com/
Source Link

In an Managed Package, we want to produce an Custom Object for each Apex Exception Mail that we receive. In order to implement that we followed the instructions we found herehere.

We created an Email Service which directs all mails to an Apex Class, which creates the Custom Objects. enter image description here

The Email adress directing to the Email service is assigned to an User which is marked as "Notify on Apex Error" in the Package and has also "Send Apex Warning Mails" checked in his User profile.

In Package:

enter image description here

In User Profile:

enter image description here

If we manually send an Error Mail to the given adress the Code works just fine but if we provoke an Error, it seems as if there was no Apex Exception Mail sent. If we assign a normal adress to the user we only receive some error mails (1 out of 5). Has anyoone experiencied something similar or knows if DE Orgs handle Apex Exception Notification differently?

Thanks for helping

In an Managed Package, we want to produce an Custom Object for each Apex Exception Mail that we receive. In order to implement that we followed the instructions we found here.

We created an Email Service which directs all mails to an Apex Class, which creates the Custom Objects. enter image description here

The Email adress directing to the Email service is assigned to an User which is marked as "Notify on Apex Error" in the Package and has also "Send Apex Warning Mails" checked in his User profile.

In Package:

enter image description here

In User Profile:

enter image description here

If we manually send an Error Mail to the given adress the Code works just fine but if we provoke an Error, it seems as if there was no Apex Exception Mail sent. If we assign a normal adress to the user we only receive some error mails (1 out of 5). Has anyoone experiencied something similar or knows if DE Orgs handle Apex Exception Notification differently?

Thanks for helping

In an Managed Package, we want to produce an Custom Object for each Apex Exception Mail that we receive. In order to implement that we followed the instructions we found here.

We created an Email Service which directs all mails to an Apex Class, which creates the Custom Objects. enter image description here

The Email adress directing to the Email service is assigned to an User which is marked as "Notify on Apex Error" in the Package and has also "Send Apex Warning Mails" checked in his User profile.

In Package:

enter image description here

In User Profile:

enter image description here

If we manually send an Error Mail to the given adress the Code works just fine but if we provoke an Error, it seems as if there was no Apex Exception Mail sent. If we assign a normal adress to the user we only receive some error mails (1 out of 5). Has anyoone experiencied something similar or knows if DE Orgs handle Apex Exception Notification differently?

Thanks for helping

Source Link
Robert Méndez
  • 710
  • 1
  • 7
  • 23

Email Service does not receive Apex Exception Mails in DE Org

In an Managed Package, we want to produce an Custom Object for each Apex Exception Mail that we receive. In order to implement that we followed the instructions we found here.

We created an Email Service which directs all mails to an Apex Class, which creates the Custom Objects. enter image description here

The Email adress directing to the Email service is assigned to an User which is marked as "Notify on Apex Error" in the Package and has also "Send Apex Warning Mails" checked in his User profile.

In Package:

enter image description here

In User Profile:

enter image description here

If we manually send an Error Mail to the given adress the Code works just fine but if we provoke an Error, it seems as if there was no Apex Exception Mail sent. If we assign a normal adress to the user we only receive some error mails (1 out of 5). Has anyoone experiencied something similar or knows if DE Orgs handle Apex Exception Notification differently?

Thanks for helping