How to notify admin at backend

anjananath 06 Oct, 2013
Hi..i'm new to joomla and i'm doing a task in which i use chronoforms for submitting the request for file download by a front end user. i need to notify this request on backend of my admin site and give permission for the admin to approve or reject that request. i'm using joomla 2.5. please help me with your valuable opinions.
GreyHead 06 Oct, 2013
Hi anjananath,

I'm not sure about messaging in the back-end but you can certainly add an Email action and email an admin (or admins) when an approval is needed.

Bob
anjananath 07 Oct, 2013
Hi bob..

can i use {input_field} in the "From" box of email GH function?? i used that and the debugger shows from address as "info@localhost".. And also when i use DB Save in On submit event,null and zero values are entering to the table. i dont know why this happen. the debugger prints like this:
Data Array:

Array
(
    [option] => com_chronoforms
    [chronoform] => fileform
    [event] => submit
    [Itemid] => 
    [confirmation_page] => _confirm
    [chronoform_data] => Array
        (
            [cf_uid] => b5fc2ad0c39ac34a892523d3790c70a2
            [cf_created] => 2013-10-07 09:25:43
            [cf_created_by] => 0
            [cf_ipaddress] => 127.0.0.1
            [cf_user_id] => 0
            [option] => com_chronoforms
            [chronoform] => fileform
            [event] => submit
            [Itemid] => 
            [confirmation_page] => _confirm
            [id] => 
        )

    [chronoform_data_id] => 
    [IPADDRESS] => 127.0.0.1
)

Validation Errors:

Array
(
)

Debug Data

    Email info
        Email failed
        Could not instantiate mail function.
        From: (user) info@localhost
        To: admin@gmail.com
        Subject: request
    Email body
        You may customize this message under the 'Template' tab in the Email settings box
GreyHead 07 Oct, 2013
Hi anajananath,

That all looks correct to me except that there is no form data there.

As there is no email in the form data to replace {input_name} Joomla! has probably used the default email.

Please see this FAQ about the email error message.

Bob

I strongly recommend that you do *not* use the Dynamic From Email element in your Email Setups. Using this often results in your emails being marked as spam and dropped into a spam filter. Instead use the static From Email with an address that matches the site domain name and use Dynamic ReplyTo Email for the user email. The result is the same but with a much better chance of good delivery.


Bob
This topic is locked and no more replies can be posted.