Skip to content
Advertisement

Tag: gmail

Remove char from imap mail extract

I am trying to fetch a mail in imap from Google, I’m using the imap() function from PHP IMAP library and I want to use a preg_match() call on my mail content but I have a strange issue, I have curious break lines altering the normal preg_match(). More details: I have in my markup something like that: I am running

Advertisement