Advertisement
Guest User

Untitled

a guest
Sep 11th, 2017
458
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.47 KB | None | 0 0
  1. { "rules_send_out_emails_after_employer_registers" : {
  2. "LABEL" : "Send out emails after employer registers",
  3. "PLUGIN" : "reaction rule",
  4. "OWNER" : "rules",
  5. "REQUIRES" : [ "rules", "mimemail", "profile2" ],
  6. "ON" : { "profile2_insert" : [] },
  7. "IF" : [
  8. { "user_has_role" : { "account" : [ "profile2:user" ], "roles" : { "value" : { "5" : "5" } } } }
  9. ],
  10. "DO" : [
  11. { "mimemail" : {
  12. "key" : "send_out_mail_after_employer_registers_to_user",
  13. "to" : [ "profile2:user:mail" ],
  14. "from_name" : "ShareYourJob.com",
  15. "from_mail" : "noreply@shareyourjob.com",
  16. "subject" : "ShareYourJob.com \u003E Registration Confirmation",
  17. "body" : "\u003Cdiv style=\u0022font-family:Arial;font-size:12px;\u0022\u003E\r\nHi [profile2:user:profile-employer:field-contact-first-name] [profile2:user:profile-employer:field-contact-surname],\r\n\r\nThank you for registering with ShareYourJob.com. \r\n\r\nYour registered login details are confirmed below:\r\n\r\nLogin: [site:url]\r\nUsername: [profile2:user:profile-employer:user:name]\r\nPassword: Your password\r\n\r\nWhen you log in you will be taken to the \u0022Employer\u0022 section of the site where you can post jobs that are available to job share applicants. These could be jobs where there is already one job share partner in post, or jobs where you are looking for both applicants. Jobs will be posted on the website straight away and you will receive a confirmation email to this effect. Users of ShareYourJob.com who are interested in a vacancy you advertise will first be asked to register\/login and will then be able to contact you directly via our secure messaging system.\r\n\r\nThere are additional services which we can offer to companies and you can find out more information on these by clicking the \u0022Other Services\u0022 tab on the site. If you would like to discuss this or anything else please don\u0027t hesitate to get in touch by email (info@shareyourjob.com) or phone (0800 024 8514).\r\n \r\nBest regards,Astrid Clifford, Director\r\nVisit us - www.shareyourjob.com\r\nLike us - www.facebook.com\/ShareYourJobUK\r\nFollow us - www.twitter.com\/shareyourjob\r\n\u003C\/div\u003E",
  18. "language" : [ "" ]
  19. }
  20. },
  21. { "mimemail" : {
  22. "key" : "send_out_mail_after_employee_registers_admin",
  23. "to" : "info@shareyourjob.com",
  24. "from_name" : "ShareYourJob.com",
  25. "subject" : "ShareYourJob.com \u003E New Subscriber (Employer)",
  26. "body" : "\u003Cdiv style=\u0022font-family:Arial; font-size:10pt;\u0022\u003E\u003Cb\u003EShareYourJob.com Registration\u003C\/b\u003E\r\n\r\n\u003Cb\u003EContact Details\u003C\/b\u003E\r\n\r\nCompany Name:\t\t[profile2:user:profile-employer:field-company-name]\r\nBuilding Name\/Number \u0026 Road name: [profile2:user:profile-employer:field-building-name-number-road-]\r\nTown: [profile2:user:profile-employer:field-town-area-employer]\r\nCounty:\t\t\t[profile2:user:profile-employer:field-county-employer] \r\nPost Code:\t\t\t[profile2:user:profile-employer:field-post-code-employer]\r\n\r\nContact Job Title: [profile2:user:profile-employer:field-contact-job-title]\r\n\r\nContact Name: [profile2:user:profile-employer:field-contact-title] [profile2:user:profile-employer:field-contact-first-name] [profile2:user:profile-employer:field-contact-surname]\r\nEmail Address:\t[profile2:user:profile-employer:field-confirm-email-address]\r\nTelephone Number:\t[profile2:user:profile-employer:field-contact-telephone-number]\r\nMobile Number:\t\t[profile2:user:profile-employer:field-contact-mobile-number]\r\n\r\n\r\n\u003Cb\u003ELogin Details\u003C\/b\u003E\r\n\r\nUsername:\t\t\t[profile2:user:profile-employer:user:name]\r\nPassword:\tYour password\r\n\r\n\u003Cb\u003EOther Details\u003C\/b\u003E\r\n\r\nAgreed to Terms: Yes\r\nReferrer:\t[profile2:user:profile-employer:field-how-did-you-hear-employer]\r\nDate Stamp:\t[site:current-date]\r\n\u003C\/div\u003E",
  27. "plaintext" : "\u003Cdiv style=\u0022font-family:Arial; font-size:10pt;\u0022\u003E\u003Cb\u003EShareYourJob.com Registration\u003C\/b\u003E\r\n\r\n\u003Cb\u003EContact Details\u003C\/b\u003E\r\n\r\nCompany Name:\t\t[profile2:user:profile-employer:field-company-name]\r\nBuilding Name\/Number \u0026 Road name: [profile2:user:profile-employer:field-building-name-number-road-]\r\nTown: [profile2:user:profile-employer:field-town-area-employer]\r\nCounty:\t\t\t[profile2:user:profile-employer:field-county-employer] \r\nPost Code:\t\t\t[profile2:user:profile-employer:field-post-code-employer]\r\n\r\nContact Job Title: [profile2:user:profile-employer:field-contact-job-title]\r\n\r\nContact Name: [profile2:user:profile-employer:field-contact-title] [profile2:user:profile-employer:field-contact-first-name] [profile2:user:profile-employer:field-contact-surname]\r\nEmail Address:\t[profile2:user:profile-employer:field-confirm-email-address]\r\nTelephone Number:\t[profile2:user:profile-employer:field-contact-telephone-number]\r\nMobile Number:\t\t[profile2:user:profile-employer:field-contact-mobile-number]\r\n\r\n\r\n\u003Cb\u003ELogin Details\u003C\/b\u003E\r\n\r\nUsername:\t\t\t[profile2:user:profile-employer:user:name]\r\nPassword:\tYour password\r\n\r\n\u003Cb\u003EOther Details\u003C\/b\u003E\r\n\r\nAgreed to Terms: Yes\r\nReferrer:\t[profile2:user:profile-employer:field-how-did-you-hear-employer]\r\nDate Stamp:\t[site:current-date]\r\n\u003C\/div\u003E",
  28. "language" : [ "" ]
  29. }
  30. },
  31. { "redirect" : { "url" : "[site:url]" } }
  32. ]
  33. }
  34. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement