Title: Using full &#8220;From&#8221; Information
Last modified: November 26, 2016

---

# Using full “From” Information

 *  Resolved [dburk](https://wordpress.org/support/users/dburk/)
 * (@dburk)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/using-full-from-information/)
 * Hi! Postie is a great plugin…thank you! I will be getting at least one of the
   plugins shortly so I can deal with categories more fully.
 * In the meantime, I have what I suspect are really easy questions. Here’s what
   I’m trying to do: There is information in the original email’s “From” field that
   I want to put into the “Subject” line and I want to reformat the information 
   in the “Body” before Postie does its “thing.” I don’t need to change what’s actually
   in the “From” field so that I won’t be messing up what Postie is doing.
 * 1) Which filter do I want to add my filter after so that I have all the $email
   information and process it before Postie starts using it to create the $post?
 * 2) What would the syntax be for getting information out of the $email structure
   and then for putting replacement information back into the $email structure?
 * 3) Presumably I would simply return $email after I’m done with it, but can you
   confirm this?
 * Thanks very much for your help with this!

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

 *  Thread Starter [dburk](https://wordpress.org/support/users/dburk/)
 * (@dburk)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/using-full-from-information/#post-8483870)
 * EDIT: I’m probably wrong about $email being the structure I’m looking for. I 
   suspect $email is not the entire raw email information but just one of the fields
   parsed out of $email. Not sure what other elements are parsed out of the email
   text. Wondering if I’m going to have to parse the fields I need out of the full
   content. So I’m either looking for all fields that might be available from the
   parsing (including what was in the “From” field before Postie shortened it), 
   OR I need to know where to get at the full text of the email so I can change 
   it before Postie does anything with it.
 * I hope I’m making any kind of sense with my question. Thank you again.
 *  Plugin Author [Wayne Allen](https://wordpress.org/support/users/wayneallen-1/)
 * (@wayneallen-1)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/using-full-from-information/#post-8484717)
 * Take a look at [http://postieplugin.com/extending/](http://postieplugin.com/extending/)
   and specifically [http://postieplugin.com/postie_post_before/](http://postieplugin.com/postie_post_before/)
 *  Thread Starter [dburk](https://wordpress.org/support/users/dburk/)
 * (@dburk)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/using-full-from-information/#post-8485852)
 * Thanks for the response. I understand using the postie_post_before to modify 
   the post. What I’m trying to get to is the full content of the email itself before
   it gets put into the fields of the post. Is there a way to get to the email itself
   and either modify it or modify the post based on information in the email that
   is not being used by Postie in the $post?
 * I hope my question is making sense.
 * Thank you very much!
    Danny
 *  Plugin Author [Wayne Allen](https://wordpress.org/support/users/wayneallen-1/)
 * (@wayneallen-1)
 * [9 years, 5 months ago](https://wordpress.org/support/topic/using-full-from-information/#post-8486500)
 * Take a look at [http://postieplugin.com/filter-postie_post_pre/](http://postieplugin.com/filter-postie_post_pre/)

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

The topic ‘Using full “From” Information’ is closed to new replies.

 * ![](https://ps.w.org/postie/assets/icon-256x256.png?rev=970083)
 * [Postie](https://wordpress.org/plugins/postie/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/postie/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/postie/)
 * [Active Topics](https://wordpress.org/support/plugin/postie/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/postie/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/postie/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [Wayne Allen](https://wordpress.org/support/users/wayneallen-1/)
 * Last activity: [9 years, 5 months ago](https://wordpress.org/support/topic/using-full-from-information/#post-8486500)
 * Status: resolved