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 - 9 years 11 months ago #11588 by michal.n
Replied by michal.n on topic Contact form reply-to setiing
Sender must be me site. (email must comming from my site. But email for reply must be a SENDER mail)

This email address is being protected from spambots. You need JavaScript enabled to view it. - thats work with this change
if (!TMail::sendMail($from,$name,$fieldMail,$subject,$body,1))

But in the mail header its missing Reply-to (mail for reply) must be mail SENDER.

Understand you what i mine :) ?

ps: contact form from virtuemart work so. Mail comming from vendor. But email for reply its email from SENDER.

(SENDER- person who fill the contact form)

EDIT: please see the attachments for better understand :)
Attachments:
Last edit: 9 years 11 months ago by michal.n.
More
9 years 11 months ago #11608 by loic
Replied by loic on topic Contact form reply-to setiing
Hello,

then you need to update the file controller.php of adsmanager once more.

In the sendmessage function in the conrtoller.php of adsmanager, you need to add some parameters to the mail function like this:
//if you use the files attachement line 840
TMail::sendMail($from,$fromname,$fieldMail,$subject,$body,1,NULL,NULL,$files,$email)
 
//If not line 890
TMail::sendMail($from,$fromname,$fieldMail,$subject,$body,1,NULL,NULL,NULL,$email)

Best regards.
The following user(s) said Thank You: gfoxtrot
More
9 years 10 months ago #11703 by michal.n
Replied by michal.n on topic Contact form reply-to setiing
THANKS! that works perfekt.
I have one question.

Its possible add user id tag to this email body tags ? {sitename},{id},{field_name},{name},{username},{expiration_date},{link}

For example email link to advertiser all ads:
You can find all your ads on this link : www.mysite.com/user/{USERidTAG}-{username}
I need user id tag.

All my advertiser must login before or by posting add.

thank
More
9 years 10 months ago #11711 by loic
Replied by loic on topic Contact form reply-to setiing
Hello,

You mean the id of the user that send the message ?

You can add something like this in the code of the sendMessage function:
$userSender = JFactory::getUser($content->userid); //I'm not sure about that, it might not be userid but user_id
 
//and in the body of the mail
$body .= "Link to the ads of the advertiser: http://link.fr/user/".$userSender->id."-".$userSender->username;

best regards.
More
9 years 7 months ago - 9 years 7 months ago #14179 by gfoxtrot
Replied by gfoxtrot on topic Contact form reply-to setiing
Hi can you please tell me where to add the above lines ?because at 890 i have the same line but under comment.

Thx,
George
Last edit: 9 years 7 months ago by gfoxtrot.
More
9 years 6 months ago #14205 by tompap
Replied by tompap on topic Contact form reply-to setiing
hello,

After line 740

if($conf->email_sender == 'website') {
$body = sprintf(JText::_('ADSMANAGER_REPLY_TO_STRING'),$sitename,$name,$email).$body;
}

if it's for admin message
before 835


$mail->body = $body;
The following user(s) said Thank You: gfoxtrot
Time to create page: 0.205 seconds
Powered by Kunena Forum