TwistPHP Documentation

stripEmailHeaders

File path: dist/twist/Core/Models/Email/SourceParser.model.php
Namespace: Twist\Core\Models\Email
Extends:

stripEmailHeadersStrip out all unwanted headers from email raw source

Parameters

Name Type Description
$strEmailSourcestringn/a

Return Values

void — No return information has been documented for this function.

Example

<?php
//Set the variables for the example
$strEmailSource 'foo';

//Call the function stripEmailHeaders with the example vars
$resSourceParser = new \Twist\Core\Models\Email\SourceParser();
$resSourceParser -> stripEmailHeaders($strEmailSource);