Set Pending Time via Postmaster Filter/Email Headers

Moderator: crythias

Locked
cgordoncarroll
Znuny newbie
Posts: 2
Joined: 11 Mar 2011, 23:35
Znuny Version: 3.0

Set Pending Time via Postmaster Filter/Email Headers

Post by cgordoncarroll »

Hello there,

I am using a php web form that emails our OTRS email when someone submits the form. I'm defining the headers so that they generally look something like this:

Code: Select all

X-OTRS-State: Pending reminder
X-OTRS-State-PendingTime: 2011-06-13 10:30:00
X-OTRS-Type: Reservation Request
However, when the email comes in, the state, pending time and ticket type are not set. I figure I have to use an email filter to set these, but I can't seem to figure out how I would pass a non-static value from the header (such as pending time). Thanks in advance for any help you can give!
root
Administrator
Posts: 4254
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Set Pending Time via Postmaster Filter/Email Headers

Post by root »

Hi,

If you set these headers with PHP's header()-funcion you're right.
Regarding to the correct headers, OTRS will process them as expected.
Did you checked your generated e-mail?

Regards,
Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Set Pending Time via Postmaster Filter/Email Headers

Post by crythias »

is the mailbox trusted?
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
cgordoncarroll
Znuny newbie
Posts: 2
Joined: 11 Mar 2011, 23:35
Znuny Version: 3.0

Re: Set Pending Time via Postmaster Filter/Email Headers

Post by cgordoncarroll »

The mailbox was not trusted, and therein lay the problem.

Thanks very much Crythias!
Locked