CiviCRM/CiviMail: Difference between revisions

link to mailing list subscription page
m Text replacement - "<(\/?)source" to "<$1syntaxhighlight"
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
== Subscribe ==
== Subscribe ==
{{CompanyName}} offers a [https://equality-tech.com/civicrm/profile/create?gid=14&reset=1 "wiki" mailing list] A low-volume list for product managers or wiki admins that will send you tips, best-practice info, and updates on what's going on in the MediaWiki world.  Good for product managers, wiki admins, developers, or advanced users. See [https://equality-tech.com/civicrm/mailing/subscribe all lists].
{{CompanyName}} offers a [https://equality-tech.com/civicrm/profile/create?gid=14&reset=1 "wiki" mailing list] A low-volume list for product managers or wiki admins that will send you tips, best-practice info, and updates on what's going on in the MediaWiki world.  Good for product managers, wiki admins, developers, or advanced users. See [https://equality-tech.com/civicrm/mailing/subscribe all lists].
== Setup ==
After the initial checklist in setting up your CiviCRM instance, you'll want to deep-dive into the various aspects of CiviMail
* http://book.civicrm.org/user/email/setup/
The documentation is really poor for the mail handling aspects.  To be fair, it's complicated.  But I wish I had the time to contribute to the documentation.  Maybe someday.  The best succinct resource I found for adding a 'Newsletter subscription form' is at https://forum.civicrm.org/index.php?topic=18364.0 And this old post from 2013 does a pretty good job of explaining the variations on [https://warrenpost.wordpress.com/2013/09/13/civicrm-mail/ setting up 'Bounce Handling' and 'Email to Activity' handling].


== Background ==
== Background ==
Line 40: Line 46:




<source lang="php">
<syntaxhighlight lang="php">
$result = civicrm_api3('CustomValue', 'get', array(
$result = civicrm_api3('CustomValue', 'get', array(
   'sequential' => 1,
   'sequential' => 1,
   'entity_id' => 2,
   'entity_id' => 2,
));
));
</source>
</syntaxhighlight>
you'll get 31 results:
you'll get 31 results:
<pre>
<pre>
Line 68: Line 74:
If you do a 'Contact' GET via the API, searching for contacts with a 'custom_40' like 'freephile'
If you do a 'Contact' GET via the API, searching for contacts with a 'custom_40' like 'freephile'


<source lang="php">
<syntaxhighlight lang="php">
$result = civicrm_api3('Contact', 'get', array(
$result = civicrm_api3('Contact', 'get', array(
   'sequential' => 1,
   'sequential' => 1,
Line 74: Line 80:
));
));


</source>
</syntaxhighlight>
You'll get "no results"
You'll get "no results"
<pre>
<pre>