inlineStyles()
Overview
public string function inlineStyles(
required string html
, array styles
)
Receives an html string and returns the same HTML but with all style definitions that reside in style
tags converted to inline styles suitable for email sending.
Arguments
Name | Type | Required | Description |
---|---|---|---|
html | string | Yes | the original HTML |
styles | array | No |