Home > Paid Traffic Sources > Email

Aweber Custom Email Parser, Sending Emails with PHP (6)


05-27-2012 06:07 AM #1 thefalcon (Member)
Aweber Custom Email Parser, Sending Emails with PHP

I'm having a hell of a time trying to figure out how to send an email with PHP after a user enters his email on a LP and it properly getting recognized by the Aweber custom email parser.

I've gotten it to send to my personal email successfully in the format that I've set my custom parser to, but for whatever reason, the parser still won't recognize it. If I send an email through an email client directly to the email parser, it works.

So basically there's something I'm not putting in the header, or php when I'm sending the email to aweber from my LP as new subscribers.

Anyone have experience with the custom parser can help me out?


05-27-2012 07:33 AM #2 tijn (Moderator)

yeah

what i do is just post the data i want parsed in aweber in the email body

I dont rely on the email headers

post a screenshot of your parser setup and of post your php code that send the email and ill do my best to help you out


05-27-2012 08:26 AM #3 thefalcon (Member)

Thanks Tijn, I sent you an email.

I just tried an even simpler version of what i was doing before. Just using commas so my body text is:

Trigger Rule,Email:testemail@gmail.com,Name:johndoe,

It checks out when I put it into the test parser. I have the script send me an email as well and it shows up as such. Still nothing from aweber.

If i email that exact string from my gmail account to mylist@aweber.com it works.

I'm convinced its a disconnect between my server and aweber. I'm running off of a VPS from Beyond Hosting.


05-27-2012 08:46 AM #4 tijn (Moderator)

most of the standard aweber parser rules require each data item to be on a separate line as it looks for the \n newline character

to create a newline character in php you need to use " instead of ' to start/end your strings, for example

[php]
$myline = "Name: $name\nEmail: $email\n";[/php]

had a quick look at the PM you sent and i think thats what the issue issue.


05-27-2012 09:25 AM #5 thefalcon (Member)

I've made all of the changes and it still does not work. I've tried every combination of everything. I'll shoot Aweber support an email.


05-27-2012 09:30 AM #6 tijn (Moderator)

if they cant sort it just email me your code, and get the server email sent to me as well. it works unless there is a bug in aweber right now. i used exactly this not so long ago for a campaign and there were no issues


Home > Paid Traffic Sources > Email