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 / [RESOLVED] E-mail Rejection through Contact Form

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

[RESOLVED] E-mail Rejection through Contact Form

More
13 years 1 month ago - 13 years 1 month ago #1311 by Noirmann
Monsieur Papin,

Thanks for the great component and its improvements, which work well. I'm Using Joomla 2.5.14 and Adsmanager 2.94.

A problem arises when a registered user sends an e-mail to contact an advertiser, using the form method (against spamming I assume), but the e-mail is not delivered or received by my host's server, unless the e-mail ends with the domain name of my website; e.g. mail@mydomain.com, here is an example of the error received when a hotmail.com e-mail tries to communicate with a gmail.com e-mail:

**********************************************************
The original message was received at Tue, 1 Oct 2013 10:22:33 -0700
from localhost [127.0.0.1]

The following addresses had permanent fatal errors
<This email address is being protected from spambots. You need JavaScript enabled to view it.>
(reason: 550 sid:XtNZ1m0092KoCks01:Message rejected for restricted from domain)

Transcript of session follows
... while talking to relay-hosting.secureserver.net:
>>> MAIL From:<This email address is being protected from spambots. You need JavaScript enabled to view it.> SIZE=962
<<< 550 sid:XtNZ1m0092KoCks01:Message rejected for restricted from domain
554 5.0.0 Service unavailable
*************************************************************

This appears to happen with all e-mail communication using the contact form, unless one or both e-mail addresses end with the domain name of my website. Your other e-mailing systems ( new ads, updating, expiration etc.) work fine. Is there a problem with my web host's server (GoDaddy) or is there something missing from your code? Pre 2.5 adsmanager did not have this problem I believe. I would appreciate feedback from anyone who has or is experiencing a similar problem. Thanks - Merci

Nsm
Last edit: 13 years 1 month ago by Noirmann. Reason: Spelling
More
13 years 1 month ago #1346 by tompap
Replied by tompap on topic E-mail Rejection through Contact Form
Are the other mails from Joomla! send correctly ? we are using the Joomla code to send mail, so I think it's more a Joomla issue.
More
13 years 1 month ago - 13 years 1 month ago #1372 by Noirmann
Replied by Noirmann on topic E-mail Rejection through Contact Form
Thanks for your reply, M. Papin,

The Joomla e-mailing systems, through php, are working fine, such as the registration system, and so are the Adsmanager e-mail configuration options. These mailing systems use the domain name of the website owner as the sender. The e-mail contact form for Adsmanager seems to be the only problem I have in mail being delivered; I believe this is because the domain name of the website owner, as the sender, is not used but that of the domain name of the e-mail address (Yahoo, Gmail etc.,) of user who is contacting another user

I’ve contacted my web host (Go Daddy) and it appears that whatever e-mail address is used in the “From” field on the e-mail form (in the case of the Adsmanager from is the “e-mail” field) has to be that of the domain name of my website and not that of a user’s domain name e-mail address such as yahoo.com, hotmail.com or gmail.com. GoDaddy claims this is to stop spamming, which is what your e-mail from is supposed to do.

This is what GoDaddy says:

Having problems with your website’s form mailer?

Date Submitted: 3-2-2011

Thank you all for your feedback. To address these stated concerns, we have implemented changes on March 3 to our outbound email program that should help address your issues since we originally posted this content.


Forms are popular on websites; they let customers share their information with you, whether it’s for a newsletter or to register an account. Often times, these forms email a confirmation of the visitor’s submission to to you or the visitor submitting the information. Did you know that all email, even if it’s sent from a hosting account, must have information entered in the From value, though?

You can make that From value a particular email address, too. This lets you create a professional-looking email for your customers or something that’s easy to categorize for yourself.

However, we have to be careful with what users can specify as their From value to combat spamming attempts. Here’s a list of email address domain names we don’t let our customers use as the From value of their forms:

• gmail.com
• aol.com
• aim.com
• yahoo.com
• hotmail.com
• live.com
• msn.com

If your email form uses one of these domain names for its From email address, our server will not send the email.


I suggest users of your component check if this is an issue for them if they are using GoDaddy. Read what angry customers have to say:

support.godaddy.com/godaddy/having-problems-with-your-websites-form-mailer/

M. Papin, is there a work around for this that could be implemented into your code so that the “sender” e-mail address is that of the website owner’s domain and the “reply to” e-mail address of the message sent is that of the user who is communicating with another user? Otherwise the only other options are to use the ‘Image’ or ‘Link’ options for e-mail contact through Adsmanger (which defeats the spamming problem) or change to a different web host. An answer with a solution would be appreciated.

Thanks – Merci

Nsm
Last edit: 13 years 1 month ago by Noirmann. Reason: Text update
More
13 years 1 month ago #1410 by Noirmann
READ THE FOLLOWING IF YOUR WEB HOST IS GO DADDY!

If GoDaddy is your web host certain e-mail domain names will result in messages NOT being sent when you use the Adsmanager contact form (these domain names are shown in the posting above.) This has nothing to do with Adsmanager component, but restrictions GoDaddy has placed on certain e-mail domains that are used in the From or E-mail field on certain contact forms integrated into Joomla! components that are used with your website that GoDaddy hosts. This includes the Adsmanager contact form, but not other mailing systems within the Joomla! core such as website registration and your website’s general contact form because your website’s domain name is usually part of the e-mail address that is being communicated to, for example, office @ mysite.com.

There is really no work around for all e-mail domain names to be accepted with the Adsmanager contact form, as it is clearly a restriction GoDaddy has implemented. What I have managed to do is put a message above the e-mail form for users to read before sending a message.

To do this I created a constant:

ADSMANAGER_EMAIL_RESTRICT_MSG

and put it into the adsmanager (front end) language file with the value:

“Messages are NOT sent if e-mail addresses with the domain names: aim.com, aol.com, gmail.com, hotmail.com, live.com, msn.com and yahoo.com are used in the E-mail field of the contact form.”

You then need to add the following code:

<?php  echo JText::_('ADSMANAGER_EMAIL_RESTRICT_MSG'); ?>

into the default.php file, which can be found at the end of this path:

components/adsmanager/views/message/tmpl/default.php

between the closing script tag and before the opening fieldset id tag <fieldset id="adsmanager_fieldset">

</script
 
<?php  echo JText::_('ADSMANAGER_EMAIL_RESTRICT_MSG'); ?>
 
<fieldset id="adsmanager_fieldset">

Save the edited files. This should display your message above the contact form to inform users about the e-mail restrictions. The language file and php entries will have to be added every time you update Adsmanager.

If you have doubts that e-mails are sent or not and your web host is GoDaddy, test the Adsmanager contact form yourself using a restricted e-mail domain.

Thanks for the great component M. Papin. Will the code change above have an effect on the functioning of the mailing form? I sent and received an e-mail without any problems after the change. Thanks – Merci

Nsm
More
11 years 8 months ago #9729 by gioorl
Hello,
I'd like to reopen this case to understand how to configure adsmanager to send From a local account (i.e. This email address is being protected from spambots. You need JavaScript enabled to view it.) and a different Reply-to address (i.e. This email address is being protected from spambots. You need JavaScript enabled to view it.).
I'm using Adsmanager 3.0.3 and Contact -> Email Display set to Form
At the moment Adsmanager is only using the From field and not the Reply-to field. It would be fine for me to add the reply-to value in the php code if I find out where to add it.

Thanks
gioorl
More
11 years 8 months ago #9846 by loic
Hello,

The email are send by the function sendmessage() at the line 806 of the file 'components/com_adsmanager/controller.php'

If you are using the email moderation, then the correct file is 'administrator/components/com_adsmanager/controllers/mails.php' at the line 136, function send().

I hope this will help you.

Best regards.
Moderators: perry
Time to create page: 0.088 seconds
Powered by Kunena Forum