[dev] some help needed

Michael Bull mbull@uoguelph.ca
Mon, 29 Jan 2001 10:53:52 -0500


At 03:23 PM 29/01/2001 +0100, you wrote:
>Hi All.
>
>Could one of you help me please for this task.
>In my IMP 2.3 installation, I want to also provide users with sms-gateway.
>
>I am running a sms app alongside imp, and everything is cool. I can get
>username, first/lastname from the $imp array etc.
>
>Task:
>When a user has sent an sms I want to append a message in the sent folder
>saying that the message was sent.
>Can someone tell me what I need to do to get that done.
>I have my string as
>---
>To: user@domain.tld
>From: sms@domain.tld
>Subject: SMS message to $number sent
>
>Some body.
>--
>
>thanks for any pointers.

I don't have any specifics for you, Atif, but my approach would be to look
in imp/compose.php and follow how IMP creates an outbound message, and just
mail the user a message with that info in the same manner.   All the code to
do that you should be able to find by following that file, I suspect.