[If:(Variable_Defined:'epost_adress')==False] [Var:'epost_adress'=''] [/If] [If:(Variable_Defined:'fornamn')==False] [Var:'fornamn'=''] [/If] [If:(Variable_Defined:'efternamn')==False] [Var:'efternamn'=''] [/If] [If:(Variable_Defined:'organisation')==False] [Var:'organisation'=''] [/If] [If:(Variable_Defined:'adress')==False] [Var:'adress'=''] [/If] [If:(Variable_Defined:'postnr')==False] [Var:'postnr'=''] [/If] [If:(Variable_Defined:'postort')==False] [Var:'postort'=''] [/If] [If:(Variable_Defined:'land')==False] [Var:'land'=''] [/If] [If:(Variable_Defined:'telefon')==False] [Var:'telefon'=''] [/If] [If:(Variable_Defined:'found_count')==False] [Var:'found_count'=0] [/If] [Var:'client_ip' = (Client_IP)] [Var:'current_datetime'=(Date_Format: (Date_Add: (Date), -Hour=1), -Format='%Q %T')] [NoProcess] Join our mailing list
MirejalogoIllustrator6
item9
item1
item2
item3
item4
item5
item6
item8

Join the Mireja mailing list!

You are welcome to join the Mireja mailing list which will give you more or less regular information on welfare and development through family in Sweden.

There are no binding agreements or costs associated with joining this list. You can deregister any time. Simply follow the link at the bottom of every mailing list sendout in order to leave the list.

[/NoProcess]

E-mail:*

First name:*

Surname:*

 

*These fields need to be filled in.

   

Organization:

Address:

Postal code:

City:

Country:

Phone:

   

[Var: 'epost_adress' = (Action_Param: 'epost_adress')] [$epost_adress->(Trim)] [Var: 'fornamn' = (Action_Param: 'fornamn')] [$fornamn->(Trim)] [Var: 'efternamn' = (Action_Param: 'efternamn')] [$efternamn->(Trim)] [Var: 'organisation' = (Action_Param: 'organisation')] [$organisation->(Trim)] [Var: 'adress' = (Action_Param: 'adress')] [$adress->(Trim)] [Var: 'postnr' = (Action_Param: 'postnr')] [$postnr->(Trim)] [Var: 'postort' = (Action_Param: 'postort')] [$postort->(Trim)] [Var: 'land' = (Action_Param: 'land')] [$land->(Trim)] [Var: 'telefon' = (Action_Param: 'telefon')] [$telefon->(Trim)] [If: !$epost_adress == ''] [Inline: -Search, -Username='mirejasql', -Password='b2d45dsql', -Database='mireja', -Table='mail_mireja_eng_table', -KeyField='ID', -ReturnField='mailing_email', -Operator='eq','mailing_email'=$epost_adress, -MaxRecords='1'] [Var: 'found_count'=(Found_Count)] [/Inline] [If: $found_count == 1]

You are already listed on the Mireja mailing list. You do not need to register again.

[Else] [If: !$fornamn == '' && !$efternamn == ''] [Inline: -Add, -Username='mirejasql', -Password='b2d45dsql', -Database='mireja', -Table='mail_mireja_eng_table', -KeyField='ID', 'mailing_firstname' = $fornamn, 'mailing_surname' = $efternamn, 'mailing_email' = $epost_adress, 'mailing_organisation' = $organisation, 'mailing_address' = $adress, 'mailing_post_code' = $postnr, 'mailing_city' = $postort, 'mailing_country' = $land, 'mailing_phone' = $telefon, 'mailing_date_subscribed' = $current_datetime, 'mailing_ip_sub' = $client_ip, 'mailing_origin' = 'mireja_org_web', 'mailing_language' = 'eng'] [var: 'keyfield_value' = (KeyField_Value)] [/Inline] [var: 'cm_enc' = (Encrypt_BlowFish: ($keyfield_value), -Seed='Pv8-x3Q/-1Xc')] [var: 'vFrom' = 'mailsender@mireja.org'] [var: 'vTo' = 'mailer@mireja.org'] [var: 'vSubj' = 'mireja_mailing_list'] [var: 'vBody' = 'Origin: mireja_org_list_sub \n' + 'Fornamn: ' + $fornamn + '\n' + 'Efternamn: ' + $efternamn + '\n' + 'Organisation: ' + $organisation + '\n' + 'Adress: ' + $adress + '\n' + 'Postnr: ' + $postnr + '\n' + 'Postort: ' + $postort + '\n' + 'Land: ' + $land + '\n' + 'Telefon: ' + $telefon + '\n' + 'E-post: ' + $epost_adress + '\n' + 'Origin: mireja_org_web' + '\n' + 'Language: eng'] [Email_Send: -host='newsmtp.blacknight.co.uk', -username ='jonas@blacknightrelay.co.uk', -password='thc1mireja', -To=$vTo, -From=$vFrom, -Subject=$vSubj, -Body=$vBody] [var: 'vcFrom' = 'mailsender@mireja.org'] [var: 'vcTo' = $epost_adress] [var: 'vcSubj' = 'Confirm the Mireja mailing list'] [var: 'vcConfLink' = 'http://www.mireja.org/cm.lasso?id=' + $cm_enc] [var: 'vcBody' = 'Please click on this link, or paste it into your web browser, \n to confirm that you want to join the Mireja mailing list: \n' + $vcConfLink + '\n \n If you have not signed up for this list then please trash this mail \n or send a message to webmaster@mireja.org'] [Email_Send: -host='newsmtp.blacknight.co.uk', -username ='jonas@blacknightrelay.co.uk', -password='thc1mireja', -To=$vcTo, -From=$vcFrom, -Subject=$vcSubj, -Body=$vcBody] [Redirect_URL: 'http://' + (Server_Name) + (Response_Path) + 'thank_you_mailing_list.html'] [Else]

You need to write in e-mail address as well as first name and surname.

[/If] [/If] [/If] [NoProcess]

[/NoProcess]