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 / Email broken for all users for ads manager

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.

× OLD Forum post could be checked here : forum.joomprod.com

Email broken for all users for ads manager

  • scubadiver
  • Topic Author
  • Offline
  • Bronze
  • Bronze
More
11 years 8 months ago #9925 by scubadiver
Email broken for all users for ads manager was created by scubadiver
Due to the DMARC policy which is enforced by all the major email companies (yahoo, gmail, etc) and large corporations Ads Manager can not send emails out.

The DMARC policy states unless your ip address is associated with the from email address your email will be blocked.

I could not understand for the past several months why our end users are complaining that emails are not working.

Ads manager takes the email address of the person using the ad and places that as the from address. (This was a great usability feature in the past however in today's cyber world it is causing all emails to be blocked.

Is there a way to override this or is ads manager broken for everyone and they don't know it?
  • scubadiver
  • Topic Author
  • Offline
  • Bronze
  • Bronze
More
11 years 8 months ago #9926 by scubadiver
Replied by scubadiver on topic Email broken for all users for ads manager
In case you are not familiar with DMARC

Over the weekend Yahoo published a DMARC record with “p=reject” essentially telling all receiving email servers to reject emails from yahoo.com addresses that don’t originate from its servers, Levine said

www.pcworld.com/article/2141120/yahoo-em...s-mailing-lists.html
More
11 years 8 months ago #9966 by tompap
Replied by tompap on topic Email broken for all users for ads manager
Hello,

Yes I see what you mean.

The code to change for that is in the controller.php, sendMessage function.

//TODO manage replyto, the problem is that replyto doesn't replace sender
if (!TMail::sendMail($email,$name,$fieldMail,$subject,$body,1,NULL,NULL,$files))
{
...
}

As you can see there is a TODO in the code for that.
So to change that you need to change $email (which is the from)
You should also add the $body, a note to say that you should not answer to this email but to the following email : ....
  • scubadiver
  • Topic Author
  • Offline
  • Bronze
  • Bronze
More
11 years 7 months ago #10274 by scubadiver
Replied by scubadiver on topic Email broken for all users for ads manager
Do you know when this Is this going to be corrected?

My business users are asking me to switch to a different software however I would like to stay on Joomprod but need to be able to provide them with an approximate time frame.
More
11 years 7 months ago - 11 years 7 months ago #10305 by loic
Hello,

You are free to do the change yourself, here is the solution, in the file 'components/com_adsmanager/controller.php', if you allow file attachment, modify the lines 882 and 898, if not modify the lines 934 and 948:

Replace :
$mail->body = $body;

By
$mail->body = $body;
$mail->body = "Mail from : ".$email."<br/>".$mail->body;

And:
if (!TMail::sendMail($email,$name,$fieldMail,$subject,$body,1,NULL,NULL,$files))

By:
if (!TMail::sendMail($from,$name,$fieldMail,$subject,$body,1,NULL,NULL,$files))

Best regards.
Last edit: 11 years 7 months ago by loic.
  • scubadiver
  • Topic Author
  • Offline
  • Bronze
  • Bronze
More
11 years 7 months ago #10680 by scubadiver
Replied by scubadiver on topic Email broken for all users for ads manager
I tried to implement this fix and it started to send all responses back to the from email address or the reply to showed the name of the user but used the email address of our server which caused significant confusion. Again I am not sure if it was error on my side but I believe there may be additional code required.
Moderators: perry
Time to create page: 0.669 seconds
Powered by Kunena Forum