{"action":"opened","issue":{"url":"https://api.github.com/repos/websharks/s2member-kb/issues/178","labels_url":"https://api.github.com/repos/websharks/s2member-kb/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/websharks/s2member-kb/issues/178/comments","events_url":"https://api.github.com/repos/websharks/s2member-kb/issues/178/events","html_url":"https://github.com/websharks/s2member-kb/issues/178","id":65770772,"number":178,"title":"AWeber Email Parser","user":{"login":"jaswsinc","id":1563559,"avatar_url":"https://avatars.githubusercontent.com/u/1563559?v=3","gravatar_id":"","url":"https://api.github.com/users/jaswsinc","html_url":"https://github.com/jaswsinc","followers_url":"https://api.github.com/users/jaswsinc/followers","following_url":"https://api.github.com/users/jaswsinc/following{/other_user}","gists_url":"https://api.github.com/users/jaswsinc/gists{/gist_id}","starred_url":"https://api.github.com/users/jaswsinc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaswsinc/subscriptions","organizations_url":"https://api.github.com/users/jaswsinc/orgs","repos_url":"https://api.github.com/users/jaswsinc/repos","events_url":"https://api.github.com/users/jaswsinc/events{/privacy}","received_events_url":"https://api.github.com/users/jaswsinc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/websharks/s2member-kb/labels/draft","name":"draft","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-04-01T20:17:49Z","updated_at":"2015-04-01T20:17:49Z","closed_at":null,"body":"---\r\n##### KB Article Creation Checklist\r\n\r\n- [ ] Write initial draft for this KB Article; label this issue `draft` and either `questions` or `tutorials`\r\n- [ ] Add [required YAML configuration](https://github.com/websharks/team/wiki/KB-Articles-::-Required-YAML-Configuration)\r\n- [ ] Add Tags for this KB Article to the YAML config (see [YAML Keys (Explained)](https://github.com/websharks/team/wiki/KB-Articles-::-Required-YAML-Configuration#yaml-keys-explained))\r\n- [ ] Edit and finalize draft for publishing (remove `draft` label, add `draft-finalized` label)\r\n- [ ] Assign Issue to yourself and [create Markdown file](https://github.com/websharks/team/wiki/KB-Articles-::-Creating-the-Markdown-File) (remove `draft-finalized` label, add `pending`)\r\n- [ ] Project Lead: Review and Publish KB Article (remove `pending` label, add `published` label)\r\n\r\n##### Additional TODOs\r\n\r\n_Additional TODO list items go here._\r\n\r\n```yaml\r\ntitle: AWeber Email Parser\r\ncategories: tutorials\r\ntags: aweber, list-servers\r\nauthor: jaswsinc\r\ngithub-issue: \r\n```\r\n---\r\n\r\n[rough ROUGH draft]\r\n\r\nWhile it is possible to use the built-in PayPal Email Parser that AWeber provides inside your account at AWeber, s2Member would really prefer that you use a Custom Email Parser, specifically for s2Member (as seen below).\r\n\r\n## AWeber Email Parser For s2Member Copy/Paste Text in creating Custom Email Parser:\r\n\r\n**Description:** s2Member Email Parser **Trigger Rule:** s2Member Subscription Request\\\\n *(match on: **Body**)* **Rule 1:** \\\\nEMail Address: \\*(.+?)\\\\n *(match on: **Body**, store in: **Email**)* **Rule 2:** \\\\nFull Name: \\*(.\\*?)\\\\n *(match on: **Body**, store in: **Name**)* **Rule 3:** \\\\nAd Tracking: \\*(.\\*?)\\\\n *(match on: **Body**, store in: **Ad Tracking**)* **Rule 4:** \\\\nRole: \\*(.\\*?)\\\\n *(match on: **Body**, store in: **Misc**)* *(click to enlarge)* [](http://www.primothemes.com/forums/download/file.php?mode=view&id=567) [](http://www.primothemes.com/forums/download/file.php?mode=view&id=568) You can run live tests inside your AWeber account, against your Custom Email Parser, using this message body. Be sure to leave the Fake: header and double line break in there during live testing. AWeber provides a box where you can paste this in, to test your Email Parser.\r\n\r\n    Fake: header\r\n\r\n\r\n    s2Member Subscription Request\r\n    s2Member w/ PayPal Email ID\r\n    Ad Tracking: s2Member-test\r\n    EMail Address: xxxxx\r\n    Buyer: xxxxx\r\n    Full Name: xxxxxx\r\n    First Name: xxxxx\r\n    Last Name: xxxxx\r\n    IP Address: xxxxx\r\n    User ID: 9\r\n    Login: xxxxxxxx\r\n    Role: subscriber\r\n    Level: 0\r\n    CCaps:\r\n    - end."}}