Results 1 to 6 of 6

Thread: User cant't communicate

  1. #1
    Thread Starter
    Newbie
    Not a Verified Customer
    DonRon's Avatar
    Join Date
    Nov 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    User cant't communicate

    I have problems with email. If a user want to contact an advertiser he will see the massage that the message has been send. But nothing arrives. All other notifications are working(new Comment, new User). Just the direct contact beween users fails. Ist there somebody who can help me?
    The site is here.
    http://mercadomallorca.net/

  2. #2
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: User cant't communicate

    I just looked at your site and you are not using classipress. The problem sounds like your host provider doesn't allow the php mail function to work since you are getting the standard wordpress emails. We can change that to wp_mail and it should work which is in your sidebar.php file.

  3. #3
    Thread Starter
    Newbie
    Not a Verified Customer
    DonRon's Avatar
    Join Date
    Nov 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: User cant't communicate

    Yes, your are right. Te host bans all mail that are not corresonding to a domain mail. The solution would be that the mail is send with the admin mail and has as a reply mail that is the mail of the site visiter. Who can do ti for me, how much is the prica. I need this urgendly! Thanks

  4. #4
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: User cant't communicate

    Ok, you will want to edit single.php and look for this line:
    Code:
    mail($receiver_email,$subject2,$body,"From: $email2");
    change it to:
    Code:
    wp_mail($receiver_email,$subject2,$body,"From: $email2");
    See if that fixes it for you. That's what the wordpress comments and other functions use to send out emails.

  5. #5
    Thread Starter
    Newbie
    Not a Verified Customer
    DonRon's Avatar
    Join Date
    Nov 2009
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: User cant't communicate

    THANK YOU. It works fine. Moreover I found out that there is a nice plugin which let you easily change the sender. Instead of "wordpress" f.e. Service My Site <info@mysite.com>:
    http://www.tipsandtricks-hq.com/wordpre ... tails-1883

  6. #6
    Founder dcowgill's Avatar
    Join Date
    Mar 2009
    Location
    San Francisco, CA
    Posts
    1,939
    Thanks
    66
    Thanked 135 Times in 99 Posts

    Re: User cant't communicate

    Actually if you just change it to this instead, it will replace the "WordPress" name with the name of whatever was placed in the contact ad name field.

    Code:
    wp_mail($receiver_email,$subject2,$body,"From: $name2 <$email2>");

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)