• good day
    im having a strange problem where the mail functions in wordpress 1.2 are giving incorrect from: addresses. when a comment on a post is made and notification is turned on, the email gets sent out fine, but the from: address is not what it should be. rather then taking the wordpress admin’s email address, its taking the user who compiled php and the fully qualified hostname of the machine, rather then admin@wordpressdomain.com (as example)
    i can rectify the problem by modifing all the php mail() calls by adding a from: address at the end, but this is a rather aukward way of fixing the problem
    im not sure if this is a php or wordpress issue. any ideas?
    thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Have you entered an email address in the admin section of WP ?

    Thread Starter Anonymous

    i have, otherwise i wouldnt be recieving the comment notification emails 🙂
    ive narrowed the problem down to the mail() call. it seems that wp only uses 3 arguments when making the call, one of the optional fouth arguements is to insert a from: address which it lacks. ive looked at similar mail() calls in phpbb and they always include the from: address as php will use the user who runs the server and the servers FQN as the from: email address.
    i could be completely wrong about that if im missing something obvious but thats the only conclusion i can find. when you recieve email notification from wordpress about an event, what from: address comes up?

    vaskin

    (@vaskin)

    I am having this same problem, it certainly has nothing to do with the entry under the admin user’s Option->General as the other post and this post suggest. The from for mine says apache@<myrealdomain.com>

    with my actual domain there. I had a user complain about this today and I would rather change it to a no-reply@ or an actual email address. I have 1.5, I didn’t upgrade, brand new install.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘mail from: address incorrect’ is closed to new replies.