• Hi
    Thanks for your service.
    1)
    Please add an ability to specify custom tags.
    This might be some code in the function wp_mail(…) like next

    $tag = '';
    $body['Tag'] = apply_filters('postmark_tag', $tag, $to, $subject, $message, $headers, $attachments);

    2) The email isn’t sending if I use the next code

    add_filter('wp_mail_from_name',  'wp_sender_empty_name');
    function wp_sender_empty_name( $original_email_from ) {
    	if( ! empty($original_email_from ) )
    		return $original_email_from ;
    
    	return get_bloginfo('name'); //Kstudio - 3ds Max Plugins & Scripts
    }

    But it work if I specify blog name in headers

    $headers = array(
        "From: Kstudio - 3ds Max Plugins & Scripts<[email protected]>",
    );

    3) Please simplify the ability to use webhooks
    As I understand webhooks don’t work with the plugin and require strong PHP knowledge.

    Kind regards

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Oleksandr

    (@track77)

    ErrorCode for 2nd point
    {“ErrorCode”:300,”Message”:”Error parsing ‘From’: Illegal email address ‘&’. It must contain the ‘@’ symbol.”}

    Thread Starter Oleksandr

    (@track77)

    3rd point isn’t actual.
    Using webhooks is simpler than I think before.

    I just must read data in json format

    // Takes raw data from the request
    $json = file_get_contents('php://input');
    
    // Converts it into a PHP object
    $data = json_decode($json);
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Some wishes’ is closed to new replies.