• Alain

    (@alainroger)


    Hi,

    i have the following code:
    wp_mail($emailTo, $subject, $body, $headers, $uploaded_file_full);

    everything works fine except that in $headers i have weird information when i receive email sent by this command.

    i receive:
    name : wordpress

    instead of getting (for example):
    name: My Company support team

    so i checked the $header variable:
    $headers = __( ‘From: ‘, ‘otw-carbon-light’ ) . get_bloginfo( ‘title’ ).’ <‘.$emailTo.’>’;

    1. checking in documentation i found no equivalent or no information about what is get_bloginfo( ‘title’ ) ?
    it should return a value holds by title but from where ? from MySQL ? from which variable/table ?

    thx a lot for help

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

    (@esmi)

    Are you creating your own plugin?

    Thread Starter Alain

    (@alainroger)

    Not at all… i’m just using the carbon light them for a customer’s website…and in the contact page template, the wp_mail function is used.

    esmi

    (@esmi)

    I’m sorry but as you appear to be using a non-WPORG theme, you need to seek support from the theme’s developers – paid or otherwise. We only support themes downloaded from www.ads-software.com here.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘wp_mail and default information’ is closed to new replies.