Login or create new account.

By registering on joomprod.com, you will have immediate access to all our free products and to the public side of our support forum.

Enjoy our subscriptions.

Each of our subscriptions allow you to enjoy the private side of the support forum and all the update of our products for a period ranging from 3 months to 1 year.

Payment And immediate download.

After subscribing to one of our subscription, the products are immediately downloadable.

Login

Or Register
Accueil / forum / Public Forum / Main Forum / Presales / Contact form reply-to setiing

Support Availability Because we must sleep sometimes

Working days: Monday to Friday.
Reply time: Depending on the complexity of your support issue it's usually between a few hours to 48 hours.

Support is only guaranteed to paid subscribers

AdsManager - End of life

It is with great regrets that we have chosen to end the developpement of Adsmanager and its other associated components.

AdsManager is born 10 years ago and, as of today, the number of new subscriptions and downloads have fallen and we cannot maintain the component anymore.

All active subscribers will be able to continue enjoying support until the end of their subscription.

The components will be free and no support will be provided anymore for the other users.

×

Notice

The forum is in read only mode.

Contact form reply-to setiing

More
9 years 11 months ago #11480 by michal.n
Contact form reply-to setiing was created by michal.n
Hello my hosting provider block dynamic reply from headers. Without this funktion cant not adsmanager right working. So i must settings reply-to for contact form in adsmanager.
I need settings as sender system (admin or default page email) email. And reply-to as from.

Who would play with the function sendMessage in controller.php in adsmanager

Do you understand what i mean?, my problem :)

Thanks very for help
More
9 years 11 months ago #11499 by loic
Replied by loic on topic Contact form reply-to setiing
Hello,

In the file 'components/com_adsmanager/controller.php', you can find a function called 'sendmessage()'.

You can custom this function as you see fit.

Best regards.
More
9 years 11 months ago #11517 by michal.n
Replied by michal.n on topic Contact form reply-to setiing
Hello thanks for quick reply. I know where but i dont know how :/ MY skills are to poor for customize this code. Can anybody help me?
More
9 years 11 months ago #11545 by loic
Replied by loic on topic Contact form reply-to setiing
Hello,

In this function, find the line
sendMail($email,$name,$fieldMail,$subject,$body,1,NULL,NULL,$files)

and change the $email,$name by $from,$fromname.

It must fix the problem.

Best regards.
More
9 years 11 months ago - 9 years 11 months ago #11570 by michal.n
Replied by michal.n on topic Contact form reply-to setiing
Hello, thanks for reply.
I have changed this code on adsmanager/controller.php on line 898 but nothing change.
Problem its not fixed. But reply still come from sender in reply ads form, not for my site.

Example.
Peter with email This email address is being protected from spambots. You need JavaScript enabled to view it.
will reply to Klaus .. This email address is being protected from spambots. You need JavaScript enabled to view it. using form.

Klaus must become email.
From: my site This email address is being protected from spambots. You need JavaScript enabled to view it.
For: klaus This email address is being protected from spambots. You need JavaScript enabled to view it.
Replyto: This email address is being protected from spambots. You need JavaScript enabled to view it..

When Klaus wil reply to mail. Ang klick on REPLY. Then must be as recipient Peter mail. Not the site admin mail.

Have you please another solution? Or make i something wrong?

EDIT:
I have changed on line 948
if (!TMail::sendMail($email,$name,$fieldMail,$subject,$body,1))
to
if (!TMail::sendMail($from,$name,$fieldMail,$subject,$body,1))

Now comming email:
From: Peter This email address is being protected from spambots. You need JavaScript enabled to view it. - thats find good
For: Klaus This email address is being protected from spambots. You need JavaScript enabled to view it.

email body....
But now Klaus dont know who replied on ads.

I need add reply to Peter (sender) email.
Last edit: 9 years 11 months ago by michal.n.
More
9 years 11 months ago #11582 by loic
Replied by loic on topic Contact form reply-to setiing
Hello,

Just to be sure, you wish to change the sender of the email or just add more information in the content of the email ?

Best regards.
Time to create page: 0.185 seconds
Powered by Kunena Forum