How can I add user profile fields to my mailpress mailout

This page seems to have the variables you need: http://www.mailpress.org/wiki/index.php?title=Manual:Api:Mail If you use $args->toname in your email code somewhere, that should display their name. Please note that I just skimmed through the site and found this, so I can’t guarantee it works since I don’t know what your current code looks like nor have I … Read more

How do I attach an invoice PDF to an email in the Dukapress plugin for WordPress?

function dpsc_pnj_send_mail($to, $from, $name, $subject, $msg, $attachment = FALSE) { global $wpdb; $headers=”MIME-Version: 1.0″ . “\r\n”; $headers .= ‘Content-type: text/html; charset=iso-8859-1’ . “\r\n”; $headers .= ‘From: ‘ . $name . ‘ ‘ . $from . ” . “\r\n”; if ($attachment) { if ($dp_shopping_cart_settings[‘dp_shop_pdf_generation’] === ‘checked’) { $mail_attachment = array(DP_PLUGIN_DIR. ‘/pdf/invoice_’ . $attachment . ‘.pdf’); @wp_mail($to, … Read more

Use of antispambot with $curauth->email

As the Codex states for the antispambot() function: Return Values (string) Converted email address. You have to do one of the following: echo antispambot( $curauth->publicemail ); // OR… print antispambot( $curauth->publicemail ); So your full example would look like the following: if ( ! empty( $curauth->publicemail ) ) { echo ‘Email <a href=”https://wordpress.stackexchange.com/questions/43732/mailto:”.antispambot( $curauth->publicemail ).’?subject=Webmail”> … Read more

Send confirmation email when a user’s role is upgraded

Send email notification when user role changes – Adding this snippet to the functions.php of your WordPress theme will send the member an email notification when the user’s role has changed. function user_role_update( $user_id, $new_role ) { $site_url = get_bloginfo(‘wpurl’); $user_info = get_userdata( $user_id ); $to = $user_info->user_email; $subject = “Role changed: “.$site_url.””; $message = … Read more

I just had an email from wordpress. what does it mean?

That means you have been linked from that page (See Codex for PingBack) A Quote from Codex – Pingbacks were designed to solve some of the problems that people saw with trackbacks. The official pingback documentation makes pingbacks sound an awful lot like trackbacks:

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)