Home Forums Newsletter Plugin Support wp_mail don't work

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #9705
    Anonymous
    Inactive

    Hi Stefano,
    After a big research of my sending problem , I found that wp_mail, don’t work.
    I worked over the file diagnostic.php on “$r = wp_mail” line
    I change this line to mail() function with a differents params, like sender, from, cc, bcc, and the server is not filter my emails.
    But when I return to wp_mail() I can’t deliver any mail. No error is returned.
    I really can’t found the problem with it.
    You have any idea ?

    Thanks

    Crandel

    #9706
    Stefano
    Keymaster

    You provider is dropping the email. The function probably work, is the mail server not delivering the email. Have you contacted your provider asking about sending email with PHP?

    wp_mail() is based on phpmailer library which uses mail() – if not differently configured.

    #9707
    Anonymous
    Inactive

    but, mail() function deliver my mails, wp_mail() with same parameters no.

    #9708
    Stefano
    Keymaster

    Ah, ok, so it means the wp_mail() add some header your amil serve doesn’t like. But the provider should be able to see that.

    Are you under windows server?

    #9729
    Anonymous
    Inactive

    Thank you, I writed to my server provider to check the difference between them.
    They check, but don’t give me an answer yet.

    #9731
    Stefano
    Keymaster

    But are you on a windows server? The difference is usually the header “from” which is composed by wp_mail to contain a name (“WordPress”) and an email address (“wordpress@domain.com”).

    On windows I found problem some time ago because of the name, for example. But they should be able to look at the mail server log an find the problem!

    #9745
    Anonymous
    Inactive

    I don’t know if a windows server. Maybe yes. But I change the sender and not contain uppercase chars.

    They solve my problem without give me a reason, but I’m not sure he can trust in his mail service because stop to work without giving any message or error.

    #9746
    Anonymous
    Inactive

    Thanks Stefano for your interest.

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.
×