• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion
  • Inviting everyone to the UX test of a new security feature in the WP Toolkit
    For WordPress site owners, threats posed by hackers are ever-present. Because of this, we are developing a new security feature for the WP Toolkit. If the topic of WordPress website security is relevant to you, we would be grateful if you could share your experience and help us test the usability of this feature. We invite you to join us for a 1-hour online session via Google Meet. Select a convenient meeting time with our friendly UX staff here.

Question Mail envelope with mail handler

biapop

New Pleskian
Hello,

I am trying to create an extension that filters the mail by its sender and decides if the mail should or should not be sent to an external server to perform other tasks.
I created a mail handler before-queue as I need to filter local and remote mail (I cannot use before-local because I cannot send the mail to the external server in that point) and I get the mail but I am not able to get the envelope. I need the envelope because after processing the mail in the external server I need to return it with all its data.
The problem is that, as I imagine you already know, the envelope has certain data that the mail does not have, such as the BCC header.

Is there any way I can get the envelope or the whole mail?

Thank you all!!
 
Back
Top