HI

I need a information for the below,

If i send a mail to ticket@domainname from gmail or other mail providers, it has to generate the ticket number and update in the ticket system.

Please guide me on this.

Hi,

you can use IMAP to access the ticket@domainname.tld account, then update a database table in which you save the ticket number: http://php.net/manual/en/book.imap.php

If you also need to parse the message use Mailparse: http://www.php.net/manual/en/book.mailparse.php

Note: you have to compile PHP with IMAP support, or if in Debian & co. install the php5-imap package. Mailparse instead is a PECL package.

Sorry for Delay reply.

Thanks Cereal.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.