Title: stemlund's Replies | WordPress.org

---

# stemlund

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

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

 Search replies:

## Forum Replies Created

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

 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [ERROR: Cookies are blocked due to unexpected output.](https://wordpress.org/support/topic/error-cookies-are-blocked-due-to-unexpected-output-8/)
 *  Thread Starter [stemlund](https://wordpress.org/support/users/stemlund/)
 * (@stemlund)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/error-cookies-are-blocked-due-to-unexpected-output-8/#post-8436165)
 * I have discovered that I’m having the same exact issue almost exactly a year 
   later. I had forgot what I actually did to fix it the first time. Then finally
   remembered. Just in case this will help others. I simply delete the existing 
   wp-admin and wp-includes directories for my WordPress install and replace them
   with fresh files from the most recent WordPress downloaded from wordpress.org.
 * This seems to fix the issue, without trying to track down the exact file that
   needs fixed in those folders.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Content Scheduler] URL in email not working](https://wordpress.org/support/topic/url-in-email-not-working/)
 *  Thread Starter [stemlund](https://wordpress.org/support/users/stemlund/)
 * (@stemlund)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/url-in-email-not-working/#post-6617264)
 * Looks like there will be no help here. Luckily I solved the issue. It looks like
   using the GUID is no longer recommended
 * in /includes/send-notification.php, you would need to change line 66 to
 * `$post_view_url = get_permalink($post_data['ID']);`
 * instead of the original code that tries to get the ‘guid’.
 * This solved my issue.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Content Scheduler] URL in email not working](https://wordpress.org/support/topic/url-in-email-not-working/)
 *  Thread Starter [stemlund](https://wordpress.org/support/users/stemlund/)
 * (@stemlund)
 * [10 years, 8 months ago](https://wordpress.org/support/topic/url-in-email-not-working/#post-6616941)
 * It looks like the URL ends up displaying as /?post_type=knowledgebase**& # 0 
   3 8 ;**p=306 so it is using **& # 0 3 8 ;** (with no spaces, because this forum
   switches it to just &) in place of & – is there a setting in functions.php or.
   htaccess to make URLs translate that entity to just **&**?
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[The Events Calendar] Pagetitle of "all events" page includes "page not found"](https://wordpress.org/support/topic/pagetitle-of-all-events-page-includes-page-not-found/)
 *  [stemlund](https://wordpress.org/support/users/stemlund/)
 * (@stemlund)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/pagetitle-of-all-events-page-includes-page-not-found/#post-3944672)
 * Having the same issue. I hope someone finds a solution
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress emails stop sending when site URL or WP URL are changed](https://wordpress.org/support/topic/wordpress-emails-stop-sending-when-site-url-or-wp-url-are-changed/)
 *  Thread Starter [stemlund](https://wordpress.org/support/users/stemlund/)
 * (@stemlund)
 * [13 years ago](https://wordpress.org/support/topic/wordpress-emails-stop-sending-when-site-url-or-wp-url-are-changed/#post-3856779)
 * I’ve narrowed down my issue I think. I found here – [http://butlerblog.com/2012/09/23/testing-the-wp_mail-function/](http://butlerblog.com/2012/09/23/testing-the-wp_mail-function/)
   That when I test the wp_mail() function, I never receive the emails. so when 
   I browse to the iowacityphotobooth.com/emailtest.php, it doesn’t send, but when
   I browse to the literal hosting location of [http://www.stephenemlund.com/icphotobooth2/emailtest.php](http://www.stephenemlund.com/icphotobooth2/emailtest.php)
   it DOES send. However, it says it is coming from [wordpress@stephenemlund.com](https://wordpress.org/support/users/stemlund/replies/wordpress@stephenemlund.com?output_format=md)
   rather than [wordpress@iowacityphotobooth.com](https://wordpress.org/support/users/stemlund/replies/wordpress@iowacityphotobooth.com?output_format=md)
 * Any ideas on why this is happening. It seems as though this is related to changing
   the site URL and WP URL in order to make the site live on the domain name of 
   iowacityphotobooth.com.
 * Please help
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] Contact Form 7 stopped working after changing site address url](https://wordpress.org/support/topic/contact-form-7-stopped-working-after-changing-site-address-url/)
 *  [stemlund](https://wordpress.org/support/users/stemlund/)
 * (@stemlund)
 * [13 years ago](https://wordpress.org/support/topic/contact-form-7-stopped-working-after-changing-site-address-url/#post-2993112)
 * I’m having this same issue – when I change my site URL or WP URL, the contact
   form 7 forms stop sending email – as well as other WP emails for new users, new
   comments. Please help.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress not sending any emails](https://wordpress.org/support/topic/wordpress-not-sending-any-emails-1/)
 *  Thread Starter [stemlund](https://wordpress.org/support/users/stemlund/)
 * (@stemlund)
 * [13 years ago](https://wordpress.org/support/topic/wordpress-not-sending-any-emails-1/#post-3829102)
 * I’ve used the following settings with WP-Mail-SMTP:
 * From email: [wordpress@iowacityphotobooth.com](https://wordpress.org/support/users/stemlund/replies/wordpress@iowacityphotobooth.com?output_format=md)
   
   From name: Iowa City Photo Booth Mailer: Send all WordPress emails via SMTP. 
   SMTP Host: relay-hosting.secureserver.net SMTP Port: 25 No Encryption Yes: Use
   SMTP authentication. Username: [wordpress@iowacityphotobooth.com](https://wordpress.org/support/users/stemlund/replies/wordpress@iowacityphotobooth.com?output_format=md)
   Password: my email password
 * When I send a test email I get the following debugging info… which ends with 
   something about thinking the email is spam or a virus content.
 * How do I get past this error to successfully using SMTP on my WordPress site?
 *     ```
       Test Message Sent
   
       The result was:
   
       bool(true)
   
       The full debugging output is shown below:
   
       object(PHPMailer)#363 (58) {
         ["Priority"]=>
         int(3)
         ["CharSet"]=>
         string(5) "UTF-8"
         ["ContentType"]=>
         string(10) "text/plain"
         ["Encoding"]=>
         string(4) "8bit"
         ["ErrorInfo"]=>
         string(0) ""
         ["From"]=>
         string(32) "wordpress@iowacityphotobooth.com"
         ["FromName"]=>
         string(21) "Iowa City Photo Booth"
         ["Sender"]=>
         string(0) ""
         ["Subject"]=>
         string(45) "WP Mail SMTP: Test mail to stemlund@gmail.com"
         ["Body"]=>
         string(68) "This is a test email generated by the WP Mail SMTP WordPress plugin."
         ["AltBody"]=>
         string(0) ""
         ["MIMEBody:protected"]=>
         string(69) "This is a test email generated by the WP Mail SMTP WordPress plugin.
       "
         ["MIMEHeader:protected"]=>
         string(491) "Date: Mon, 10 Jun 2013 14:51:51 +0000
       Return-Path: wordpress@iowacityphotobooth.com
       To: stemlund@gmail.com
       From: Iowa City Photo Booth
       Subject: WP Mail SMTP: Test mail to stemlund@gmail.com
       Message-ID: <686695d901c3c613882356e38eeb4f39@www.iowacityphotobooth.com>
       X-Priority: 3
       X-Mailer: PHPMailer 5.2.1 (http://code.google.com/a/apache-extras.org/p/phpmailer/)
       MIME-Version: 1.0
       Content-Transfer-Encoding: 8bit
       Content-Type: text/plain; charset="UTF-8"
   
       "
         ["SentMIMEMessage:protected"]=>
         string(564) "Date: Mon, 10 Jun 2013 14:51:51 +0000
       Return-Path: wordpress@iowacityphotobooth.com
       To: stemlund@gmail.com
       From: Iowa City Photo Booth
       Subject: WP Mail SMTP: Test mail to stemlund@gmail.com
       Message-ID: <686695d901c3c613882356e38eeb4f39@www.iowacityphotobooth.com>
       X-Priority: 3
       X-Mailer: PHPMailer 5.2.1 (http://code.google.com/a/apache-extras.org/p/phpmailer/)
       MIME-Version: 1.0
       Content-Transfer-Encoding: 8bit
       Content-Type: text/plain; charset="UTF-8"
   
       This is a test email generated by the WP Mail SMTP WordPress plugin.
       "
         ["WordWrap"]=>
         int(0)
         ["Mailer"]=>
         string(4) "smtp"
         ["Sendmail"]=>
         string(18) "/usr/sbin/sendmail"
         ["PluginDir"]=>
         string(0) ""
         ["ConfirmReadingTo"]=>
         string(0) ""
         ["Hostname"]=>
         string(0) ""
         ["MessageID"]=>
         string(0) ""
         ["Host"]=>
         string(30) "relay-hosting.secureserver.net"
         ["Port"]=>
         string(2) "25"
         ["Helo"]=>
         string(0) ""
         ["SMTPSecure"]=>
         string(0) ""
         ["SMTPAuth"]=>
         bool(true)
         ["Username"]=>
         string(32) "wordpress@iowacityphotobooth.com"
         ["Password"]=>
         string(12) "password was here"
         ["Timeout"]=>
         int(10)
         ["SMTPDebug"]=>
         int(2)
         ["SMTPKeepAlive"]=>
         bool(false)
         ["SingleTo"]=>
         bool(false)
         ["SingleToArray"]=>
         array(0) {
         }
         ["LE"]=>
         string(1) "
       "
         ["DKIM_selector"]=>
         string(9) "phpmailer"
         ["DKIM_identity"]=>
         string(0) ""
         ["DKIM_passphrase"]=>
         string(0) ""
         ["DKIM_domain"]=>
         string(0) ""
         ["DKIM_private"]=>
         string(0) ""
         ["action_function"]=>
         string(0) ""
         ["Version"]=>
         string(5) "5.2.1"
         ["XMailer"]=>
         string(0) ""
         ["smtp:protected"]=>
         object(SMTP)#362 (8) {
           ["SMTP_PORT"]=>
           int(25)
           ["CRLF"]=>
           string(2) "
       "
           ["do_debug"]=>
           int(2)
           ["do_verp"]=>
           bool(false)
           ["Version"]=>
           string(5) "5.2.1"
           ["smtp_conn:private"]=>
           resource(289) of type (stream)
           ["error:private"]=>
           NULL
           ["helo_rply:private"]=>
           string(139) "250-p3smtphosting01.prod.phx3.secureserver.net hello [68.178.254.18], secureserver.net
       250-HELP
       250-SIZE 30000000
       250-8BITMIME
       250 OK
       "
         }
         ["to:protected"]=>
         array(1) {
           [0]=>
           array(2) {
             [0]=>
             string(18) "stemlund@gmail.com"
             [1]=>
             string(0) ""
           }
         }
         ["cc:protected"]=>
         array(0) {
         }
         ["bcc:protected"]=>
         array(0) {
         }
         ["ReplyTo:protected"]=>
         array(0) {
         }
         ["all_recipients:protected"]=>
         array(1) {
           ["stemlund@gmail.com"]=>
           bool(true)
         }
         ["attachment:protected"]=>
         array(0) {
         }
         ["CustomHeader:protected"]=>
         array(0) {
         }
         ["message_type:protected"]=>
         string(5) "plain"
         ["boundary:protected"]=>
         array(3) {
           [1]=>
           string(35) "b1_686695d901c3c613882356e38eeb4f39"
           [2]=>
           string(35) "b2_686695d901c3c613882356e38eeb4f39"
           [3]=>
           string(35) "b3_686695d901c3c613882356e38eeb4f39"
         }
         ["language:protected"]=>
         array(17) {
           ["provide_address"]=>
           string(54) "You must provide at least one recipient email address."
           ["mailer_not_supported"]=>
           string(25) " mailer is not supported."
           ["execute"]=>
           string(19) "Could not execute: "
           ["instantiate"]=>
           string(36) "Could not instantiate mail function."
           ["authenticate"]=>
           string(35) "SMTP Error: Could not authenticate."
           ["from_failed"]=>
           string(35) "The following From address failed: "
           ["recipients_failed"]=>
           string(45) "SMTP Error: The following recipients failed: "
           ["data_not_accepted"]=>
           string(30) "SMTP Error: Data not accepted."
           ["connect_host"]=>
           string(43) "SMTP Error: Could not connect to SMTP host."
           ["file_access"]=>
           string(23) "Could not access file: "
           ["file_open"]=>
           string(33) "File Error: Could not open file: "
           ["encoding"]=>
           string(18) "Unknown encoding: "
           ["signing"]=>
           string(15) "Signing Error: "
           ["smtp_error"]=>
           string(19) "SMTP server error: "
           ["empty_message"]=>
           string(18) "Message body empty"
           ["invalid_address"]=>
           string(15) "Invalid address"
           ["variable_set"]=>
           string(30) "Cannot set or reset variable: "
         }
         ["error_count:protected"]=>
         int(0)
         ["sign_cert_file:protected"]=>
         string(0) ""
         ["sign_key_file:protected"]=>
         string(0) ""
         ["sign_key_pass:protected"]=>
         string(0) ""
         ["exceptions:protected"]=>
         bool(false)
       }
   
       The SMTP debugging output is shown below:
   
       SMTP -> FROM SERVER:220 p3smtphosting01.prod.phx3.secureserver.net  ESMTP server ready
   
       SMTP -> FROM SERVER: 250-p3smtphosting01.prod.phx3.secureserver.net hello [68.178.254.18], secureserver.net
       250-HELP
       250-SIZE 30000000
       250-8BITMIME
       250 OK
   
       SMTP -> ERROR: AUTH not accepted from server: 500 command unrecognized
   
       SMTP -> FROM SERVER:250 OK
   
       SMTP -> FROM SERVER:250 ok
   
       SMTP -> FROM SERVER:250 ok
   
       SMTP -> FROM SERVER:354 enter mail, end with "." on a line by itself
   
       SMTP -> FROM SERVER:250 merr1l0070QbNh801:LEG:Message dropped for spam or virus content
       ```
   
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [WordPress not sending any emails](https://wordpress.org/support/topic/wordpress-not-sending-any-emails-1/)
 *  Thread Starter [stemlund](https://wordpress.org/support/users/stemlund/)
 * (@stemlund)
 * [13 years ago](https://wordpress.org/support/topic/wordpress-not-sending-any-emails-1/#post-3829054)
 * the contact form in question is located here – [http://www.iowacityphotobooth.com/contact-us](http://www.iowacityphotobooth.com/contact-us)–
   It uses Contact Form 7 – it says the message was sent successfully, but no email
   is received.

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