Overview

Packages

  • ACF
  • Automation
    • Actions
    • Activation
    • LeadProfile
    • Menus
    • Queries
    • Rules
    • Triggers
  • CTA
    • Activation
    • AJAXListeners
    • Cloning
    • Core
    • Display
    • EditPage
    • Enqueues
    • GPLSettings
    • LeadsProfile
    • Loading
    • Menus
    • Notices
    • PlacementMetabox
    • PostType
    • Templates
    • Tracking
    • Variations
    • YOAST
  • InboundPro
    • Activation
    • AdminAJAX
    • AutoLoading
    • Cron
    • DataInterface
    • FieldMapping
    • Funnels
    • InboundNowAPI
    • Installer
    • LeadStatuses
    • Menus
    • Notifications
    • Ouath
    • Reports
    • Settings
    • Tracking
    • Translations
    • Updates
  • LandingPages
    • Activation
    • DataInterfaces
    • Management
    • Menus
    • NeedsAttention
    • Notices
    • Sidebars
    • Templates
    • Tracking
    • Variations
    • WelcomeScreen
    • Widgets
  • Leads
    • Activation
    • Akismet
    • BranchControl
    • BulkActions
    • Dashboard
    • Management
    • Notifications
    • Settings
    • Tracking
    • UserProfile
    • WPLogin
  • Mailer
    • Activation
    • Admin
    • ClickTracking
    • DataInterface
    • InboundForms
    • Leads
    • Management
    • Notifications
    • Scheduling
    • Sending
    • Settings
    • ShortcodesAndTokens
    • SparkPost
    • Templates
    • Unsubscribes
    • Variations
    • YoastSEO
  • None
  • Shared
    • APIs
    • CPT
    • DatabaseRoutines
    • DebugTricks
    • DoubleOptin
    • EventManagement
    • FieldMapping
    • InboundForms
    • LeadSorage
    • MarketingButton
    • Menus
    • Notifications
    • Shortcodes
    • ShortcodesAndTokens
    • StandAloneLicensing
    • Tracking
    • VisualEditor
  • xDepreciated

Classes

  • Inbound_Mail_Daemon
  • Overview
  • Package
  • Class

Class Inbound_Mail_Daemon

Class Inbound_Mail_Daemon provides cronjob daemon for reading inbound_email_queue and processing sends.

Direct known subclasses

Inbound_Mailer_SparkPost
Package: Mailer\Sending
Located at core/mailer/classes/class.mailer.php
Methods summary
public
# __construct( )

Initialize class

Initialize class

public static
# load_static_vars( )

Loads static variables

Loads static variables

public static
# load_hooks( )
public static
# process_mail_queue( )
public static
# toggle_email_type( )

Tells WordPress to send emails as HTML

Tells WordPress to send emails as HTML

public static
# toggle_email_type_html( $type )

Set email type to html for wp_mail

Set email type to html for wp_mail

public static
# toggle_dom_parser( )

Loads DOMDocument class object

Loads DOMDocument class object

public static
# rebuild_links( $html )

Rebuild links with tracking params

Rebuild links with tracking params

public static
# send_automated_emails( )

Sends scheduled automated emails

Sends scheduled automated emails

public static
# send_batch_emails( )

Sends scheduled batch emails

Sends scheduled batch emails

public static
# send_solo_email( $args )

Send email by lead id

Send email by lead id

public static
# delete_from_queue( )

Updates the status of the email in the queue

Updates the status of the email in the queue

public static
# mark_email_sent( )

Updates the post status of an email to sent

Updates the post status of an email to sent

public static
# get_templates( $variation_id = null )

Gets array of raw html for each variation

Gets array of raw html for each variation

public static
# get_tags( )

Gets tags & sets them into static array

Gets tags & sets them into static array

public static ARRAY
# get_email( )

Prepares email data for sending

Prepares email data for sending

Returns

ARRAY
$email
public static
# get_email_body( )

Generates targeted email body html

Generates targeted email body html

public static STRING
# get_variation_html( STRING $permalink )

Generate HTML for email

Generate HTML for email

Parameters

$permalink

Returns

STRING
public static
# get_variation_subject( )

Gets the subject line from variation settings

Gets the subject line from variation settings

public static
# get_variation_from_name( )

Gets the from name from variation settings

Gets the from name from variation settings

public static
# get_variation_from_email( )

Gets the from email from variation settings

Gets the from email from variation settings

public static
# get_variation_reply_email( )

Gets the reply email from variation settings

Gets the reply email from variation settings

public static
# get_text_version( )

Generate text version of html email automatically

Generate text version of html email automatically

public static
# check_stop_rules( )

Check stop rules for lead returns true to OK sending and false to prevent sending

Check stop rules for lead returns true to OK sending and false to prevent sending

public static
# check_response( )

Checks Email Service Response for Errors

Checks Email Service Response for Errors

public static
# time_elapsed( $last = null )
Properties summary
public static $table_name
#
public static $email_service
#
public static $send_limit
#
public static $thread_limit
#
public static $timestamp
#
public static $dom
#
public static $row
#
public static $email_settings
#
public static $templates
#
public static $tags
#
public static $email
#
public static $results
#
public static $response
#
public static $error_mode
#
public static $last
#
public static $first
#
Inbound Pro Plugin - PHP Codex API documentation generated by ApiGen