Title: cwizards's Replies | WordPress.org

---

# cwizards

  [  ](https://wordpress.org/support/users/cwizards/)

 *   [Profile](https://wordpress.org/support/users/cwizards/)
 *   [Topics Started](https://wordpress.org/support/users/cwizards/topics/)
 *   [Replies Created](https://wordpress.org/support/users/cwizards/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/cwizards/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/cwizards/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/cwizards/engagements/)
 *   [Favorites](https://wordpress.org/support/users/cwizards/favorites/)

 Search replies:

## Forum Replies Created

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

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy WP SMTP – WordPress SMTP and Email Logs: Gmail, Office 365, Outlook, Custom SMTP, and more] how to code sendemail?](https://wordpress.org/support/topic/how-to-code-sendemail/)
 *  Thread Starter [cwizards](https://wordpress.org/support/users/cwizards/)
 * (@cwizards)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/how-to-code-sendemail/#post-4184138)
 * 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?
   Nick
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Easy WP SMTP – WordPress SMTP and Email Logs: Gmail, Office 365, Outlook, Custom SMTP, and more] how to code sendemail?](https://wordpress.org/support/topic/how-to-code-sendemail/)
 *  Thread Starter [cwizards](https://wordpress.org/support/users/cwizards/)
 * (@cwizards)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/how-to-code-sendemail/#post-4184133)
 * I have just tried wp_mail(… and got the response below, ant ideas?
    Nick
 * SMTP -> 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 goodbye
 * 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-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](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Link formatting problem when concacting a variable](https://wordpress.org/support/topic/link-formatting-problem-when-concacting-a-variable/)
 *  Thread Starter [cwizards](https://wordpress.org/support/users/cwizards/)
 * (@cwizards)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/link-formatting-problem-when-concacting-a-variable/#post-4089887)
 * sorry, forgot to mark this as resolved
 *   Forum: [Hacks](https://wordpress.org/support/forum/plugins-and-hacks/hacks/)
   
   In reply to: [Link formatting problem when concacting a variable](https://wordpress.org/support/topic/link-formatting-problem-when-concacting-a-variable/)
 *  Thread Starter [cwizards](https://wordpress.org/support/users/cwizards/)
 * (@cwizards)
 * [12 years, 9 months ago](https://wordpress.org/support/topic/link-formatting-problem-when-concacting-a-variable/#post-4089885)
 * Thanks 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>";`

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