cwizards
Forum Replies Created
-
I am not sending any header info (just to, subject, body) but I am calling the code from a hook in functions.php which is called when an admin user clicks publish on a post.
It looks to me as though it is trying to set a cookie or something?
NickI have just tried wp_mail(… and got the response below, ant ideas?
NickSMTP -> FROM SERVER:220 artificialart.co.uk ESMTP
SMTP -> FROM SERVER: 250-artificialart.co.uk 250-SIZE 20480000 250 AUTH LOGIN
SMTP -> FROM SERVER:250 OK
SMTP -> FROM SERVER:250 OK
SMTP -> FROM SERVER:354 OK, send.
SMTP -> FROM SERVER:250 Queued (0.202 seconds)
SMTP -> FROM SERVER:221 goodbyeWarning: Cannot modify header information – headers already sent by (output started at /home/cowleygr/public_html/wp-includes/class-smtp.php:121) in /home/cowleygr/public_html/wp-admin/post.php on line 222
Warning: Cannot modify header information – headers already sent by (output started at /home/cowleygr/public_html/wp-includes/class-smtp.php:121) in /home/cowleygr/public_html/wp-includes/pluggable.php on line 875
Forum: Hacks
In reply to: Link formatting problem when concacting a variablesorry, forgot to mark this as resolved
Forum: Hacks
In reply to: Link formatting problem when concacting a variableThanks for the suggestion, but I finally figured it out.
I had not put \” around the onclick functions, adding them did the trick.echo "<UL><li><a onclick=\"$('#searchUsers').val('$name');\">$name</a></li></ul>";