Another WordPress Classifieds Plugin
Thursday July 29th 2010

Email Troubleshooting

There are three methods attempted for processing the emails the plugin sends out. The first is the plugin’s send_mail() function. The plugin will try to send out the email using this function. Some servers will not permit the plugin to send out the mail using the send_mail() function. On these servers, the plugin will then attempt to use the standard php mail() function. Here again, some servers have restrictions in place that will prevent even the standard mail() function from processing the emails.

If send_mail() fails and mail() fails, the system will attempt to use SMTP to process the emails. The SMTP feature is experimental at this point in time. It is not known yet if it has worked for anyone as no one who might be using it has reported back. If you are using the SMTP option successfully or trying unsuccessfully to use it feedback is invited.

If none of the three methods is working for you there is something, likely on your server end, that is preventing the emails from going out.

One known issue that has resolved this problem for a few people:

Certain hosting providers do not relay emails using off-domain email addresses

Some servers appear to require the sender email address to match the outgoing domain. In other words, if your domain name is awpcp.com and your wordpress admin email is somenameorother@gmail.com, your server (if you are on a server with this particular issue) will not send the email. Changing to an email like somenameorother@awpcp.com fixes the problem. (Of course awpcp.com is only an example. It would be replaced by whatever your domain name happens to be)

Your contact path value as set in SEO Settings could be wrong

If your problem only relates to emails when someone is replying to an ad, you are probably dealing with a path issue. The contact form is probably not getting a correct ad ID because the value set in Classifieds->Manage General Options->SEO Settings under the heading “If contact page link not working in seo mode change value until correct path is found. Start at 1″, is not correct.

If contact page link not working in seo mode change value until correct path is found. Start at 1

You can verify if this is the problem by viewing the source code when on the contact page to reply to an ad. Look for the hidden value with name adid.

<input name="adid" type="hidden" value="4-Dolce--Gabanna-dresses-for-sale" />

In the example above the value is set to “4-Dolce–Gabanna-dresses-for-sale”. This is not correct and has occured because the setting in SEO Settings for the reply to ad (contact)  form was not correct as explained in Reply To Ad

In the above, the system cannot retrieve the ad information because it does not have the correct ad ID, so while it appears to process the contact form, it does not.

If you are not receiving the contact emails but receiving all other emails, please check to see if the problem is as described above by viewing the source code to see what value appears in the value slot for the hidden field adid.

More on the contact path setting

Leave a Reply

Latest Topics

Category Pagination bug fixed, Widget Now Supports Thumbnails

I’ve been on a ruthless bug hunt for the past week or so.  I’ve fixed a number of issues brought up in the [Read More]

RSS Module Now Available

AWPCP is happy to announce the availability of the long-anticipated RSS module. You can now syndicate your classifieds [Read More]

PayPal output failure prompts release of 1.0.6.13

Bugs crop up all the time, but this one was critical enough to demand immediate fix and release.  Version 1.0.6.13 [Read More]

AWPCP Now Supports WP 3.0 + Category Ordering

After extensive testing, I can confidently say that there are no major issues with WP 3.0 and AWPCP.  While working on [Read More]

Recent Comments

Eliseusb had this to say

Hey, thanks thanks thanks, congratulations. Read the post

Nick had this to say

Where can I find my RSS feed now I have upgraded to the newer version? Thanks Read the post

Nick had this to say

Yes we really need this also :) Read the post

awpcp had this to say

Hi, You can always play with the CSS of the plugin to try and improve the behavior of AWPCP with your template, but in Read the post

YBR had this to say

Hi, The Classified pack is excellent but unfortunately it don't work well with my favourate templete. I used the Read the post

Insider

Archives