не уходит письмо с подтверждением регистрации(log)

добрый день уважаемые modx-воды.
Подскажите пожалуйста не уходит письмо с подтверждением регистрации с сайта. Регистрация организованна с помощью модуля Login.
Письма с сервера уходят, уходят письма и из админки,
вот шаблон регистрации

[[$incMeta]]
<div class="wrap">
      <div class="shadowback"></div>

    [[$incHeader]]
    <div class="lines">
        [[$incSearch]]
        [[$incFAQMenu]]
        [[!selectsData]]
        <div class="poptests textpage">
            <div class="leftp">
                <div class="head">
                    <h1>[[*pagetitle]]</h1>
                </div>
                [[!Register?
                &submittedResourceId=`14`
                &submitVar=`registerBut`
                &activation=`1`
                &activationEmailTpl=`   `
                &activationResourceId=`77`
                &usernameField=`email`
                &usergroups=`Members:Member`
                &excludeExtended=`op1,op2,operator,nospam`
                &errTpl=`[[+error]]`
                &validate=`nospam:blank,
                email:required:email:maxLength=^50^,
                email_confirm:confirmEmail=^email^,
                contract1ok:required,
                password:required:minLength=^3^:maxLength=^25^,
                password_confirm:password_confirm=^password^,
                name:required:regexRu:minLength=^2^:maxLength=^25^,
                surname:required:regexRu:minLength=^2^:maxLength=^25^,
                name_latin:regexLatin:maxLength=^25^,
                surname_latin:regexLatin:maxLength=^25^,
                zip:required:regexZip:minLength=^5^:maxLength=^6^,
                country:required:emptySelect,
                state:required:minLength=^2^:maxLength=^25^,
                city:required:minLength=^2^:maxLength=^25^,
                street:required:minLength=^2^:maxLength=^25^,
                building:required:minLength=^1^:maxLength=^10^,
                office:required:minLength=^1^:maxLength=^10^`
                &placeholderPrefix=`reg.`
                &activationEmailSubject=`[[%registration.activationEmailSubject:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]`
                &preHooks=`math`
                &postHooks=`writeInfo`
                &customValidators=`regexRu,regexLatin,regexZip,emptySelect,confirmEmail`]]
                [[$registerFormTpl]]
            </div>  
            <div class="rightp">
                [[$cattests]]
                [[$site_admin]]
                [[-$prof]]
                <div class="video"> [[$incRefresh]]</div>
            </div>
            <div class="clear"></div> 
        </div>
        [[$incAbout]]
    </div>   
</div>   
[[$incFooter]]
а вот код чанга registerFormTpl

<form id="registration" action="[[~[[*id]]]]" method="post">
    <input type="hidden" name="nospam" value="[[!+reg.nospam]]" />
    
    <div class="print_view form">
        <div class="block">
            <div class="t_block">
                <div class="in">
                    <h4>[[getResourceField? &id=`17`]]</h4>
                    <p>[[getResourceField? &id=`17` &field=`content`]]</p>
                </div>  
            </div>
            <div class="disc">
                <input type="hidden" name="contract1ok" value="0" />
                <p><a title="[[%registration.contract1print:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]" href="[[~[[*id]]]]#" name="contract1print" class="contractprint print" data-action="[[~17]]">[[%registration.contract1print:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]</a></p>
                <p><input type="checkbox" class="required checked" value="1" name="contract1ok" id="contract1ok" [[!+reg.contract1ok:FormItIsChecked=`1`]]/><span>[[%registration.contract1agreement:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]</span>
                    [[!+reg.error.contract1ok:is=``:then=``:else=`<div class="tale"><label for="contract1ok" class="error">[[!+reg.error.contract1ok]]</label></div>`]]
                    
                </p>
            </div>
        </div>
        <div class="block last">
            <div class="t_block">
                <div class="in">
                    <h4>[[getResourceField? &id=`22`]]</h4>
                    <p>[[getResourceField? &id=`22` &field=`content`]]</p>
                </div>  
            </div>
            <div class="disc">
                <input type="hidden" name="contract2ok" value="0" />  
                <p><a title="[[%registration.contract2print:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]" href="[[~[[*id]]]]#" name="contract2print" class="contractprint print" data-action="[[~22]]">[[%registration.contract2print:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]</a>
                    
                </p>
                <p style="display: none"><input type="checkbox" class="required checked" name="contract2ok" value="1" id="contract2ok" checked/><span>[[%registration.contract2agreement:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]</span>
                    [[!+reg.error.contract2ok:is=``:then=``:else=`<div class="tale"><label for="contract2ok" class="error">[[!+reg.error.contract2ok]]</label></div>`]]
                </p>
                
            </div>
            
        </div>
    </div>  
    
    
    <!--    <div class="form">
        <div name="contract1" style="width:300px; height:100px; overflow-y: scroll" >[[getResourceField? &id=`17` &field=`content`]]</div>
        <input type="hidden" name="contract1ok" value="0" />
        <input type="checkbox" class="required checked" value="1" name="contract1ok" [[!+reg.contract1ok:FormItIsChecked=`1`]]/>
        <label>Я согласен</label>
        [[!+reg.error.contract1ok:is=``:then=``:else=`<div class="tale"><label for="contract1ok" class="error">[[!+reg.error.contract1ok]]</label></div>`]]
        <a href="[[~[[*id]]]]#" name="contract1print" class="contractprint"> Распечатать</a>
        <div name="contract2" style="width:300px; height:100px; overflow-y: scroll" >[[getResourceField? &id=`22` &field=`content`]]</div>
        <input type="hidden" name="contract2ok" value="0" />
        <input type="checkbox" class="required checked" name="contract2ok" value="1" [[!+reg.contract2ok:FormItIsChecked=`1`]]/>
        
        <label>Я согласен</label>
        [[!+reg.error.contract2ok:is=``:then=``:else=`<div class="tale"><label for="contract2ok" class="error">[[!+reg.error.contract2ok]]</label></div>`]]
        <a href="[[~[[*id]]]]#" name="contract2print" class="contractprint"> Распечатать</a>
    </div>-->
    <div class="clear"></div>
    <div class="data_item">
        <h3>[[%registration.authorization:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]</h3>
        
        <div class="form">
            <div class="line ness">        
                <input type="email" id="email" class="required email" name="email" placeholder="[[%registration.email:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]" value="[[!+reg.email]]"/>[[!+error.email]]
                [[!+reg.error.email:is=``:then=``:else=`<div class="tale"><label for="email" class="error">[[!+reg.error.email]]</label></div>`]] 
            </div>
            <div class="line ness">        
                <input type="text" id="email_confirm" class="required email" name="email_confirm" placeholder="[[%registration.email_again:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]:" value="[[!+reg.email_confirm]]"/>
                [[!+reg.error.email_confirm:is=``:then=``:else=`<div class="tale"><label for="email_confirm" class="error">[[!+reg.error.email_confirm]]</label></div>`]] 
            </div>
            <div class="line ness">        
                <input type="password" id="password" class="required" name="password" placeholder="Пароль:" value="[[!+reg.password]]"/>
                [[!+reg.error.password:is=``:then=``:else=`<div class="tale"><label for="password" class="error">[[!+reg.error.password]]</label></div>`]] 
            </div>
            <div class="line ness">        
                <input type="password" id="password_confirm" name="password_confirm" class="required" placeholder="[[%registration.password_again:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]:" value="[[!+reg.password_confirm]]"/>
                [[!+reg.error.password_confirm:is=``:then=``:else=`<div class="tale"><label for="password_confirm" class="error">[[!+reg.error.password_confirm]]</label></div>`]] 
            </div>
            <div class="line">        
                <textarea id="education" name="education" placeholder="[[%registration.education:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]:" value="[[!+reg.education]]"></textarea>
            </div>
        </div>
    </div>
    
    <div class="data_item last">
        <h3>[[%registration.print_data:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]</h3>
        <div class="form">
            <div class="line ness">        
                <input type="text" id="name" name="name" class="required" placeholder="[[%registration.name:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]:" value="[[!+reg.name]]"/>
                [[!+reg.error.name:is=``:then=``:else=`<div class="tale"><label for="name" class="error">[[!+reg.error.name]]</label></div>`]] 
            </div>
            <div class="line ness">        
                <input type="text" id="surname" name="surname" class="required" placeholder="[[%registration.surname:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]:" value="[[!+reg.surname]]"/>
                [[!+reg.error.surname:is=``:then=``:else=`<div class="tale"><label for="surname" class="error">[[!+reg.error.surname]]</label></div>`]] 
            </div>
            
            <div class="line" >
                <input type="checkbox" name="english_lang" value="1" id="english_lang" [[!+reg.english_lang:FormItIsChecked=`1`]]/>
                <label for="english_lang">[[%registration.english_lang:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]</label>
            </div>    
            <div class="line"><label>[[%registration.date_born:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]:</label></div>
            <div class="line ness" id="div_name_latin" >
                <input class="alphalatin" type="text" id="name_latin" name="name_latin" placeholder="[[%registration.name_latin:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]:" value="[[!+reg.name_latin]]"/>
                [[!+reg.error.name_latin:is=``:then=``:else=`<div class="tale"><label for="name_latin" class="error">[[!+reg.error.name_latin]]</label></div>`]] 
            </div>
            <div class="line ness" id="div_surname_latin" >
                <input class="alphalatin" type="text" id="surname_latin" name="surname_latin" placeholder="[[%registration.surname_latin:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]:" value="[[!+reg.surname_latin]]"/>
                [[!+reg.error.surname_latin:is=``:then=``:else=`<div class="tale"><label for="surname_latin" class="error">[[!+reg.error.surname_latin]]</label></div>`]] 
            </div>
            <div class="line">        
                <select id="date" name="date" style="required">
                    <option value="" [[+reg.date:FormItIsSelected=``]]>[[%registration.day:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]</option>
                [[+outputDate]]</span>
            </select>
            <select id="month" name="month" style="required">
                <option value="[[+reg.month]]" [[+reg.month:FormItIsSelected=``]]>[[%registration.month:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]</option>
                [[+outputMonth]]
            </select>
            <select id="year" name="year" style="required">
                <option value="" [[+reg.year:FormItIsSelected=``]]>[[%registration.year:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]</option>
                [[+outputYear]]
            </select>
            
        </div>
        <br />
        <h3 class="nomr">[[%registration.post_address:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]</h3>
        <p class="gray">[[%registration.certif_get:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]</p>
        <div class="line ness">        
            <input type="text" id="zip" name="zip" class="required digits" placeholder="[[%registration.zip:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]:" value="[[!+reg.zip]]"/>
            [[!+reg.error.zip:is=``:then=``:else=`<div class="tale"><label for="zip" class="error">[[!+reg.error.zip]]</label></div>`]] 
        </div>
        
        <div class="line">
            <input type="checkbox" id="country_all_check"/>
            <label for="country_all_check">[[%registration.country_all_check:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]</label>
        </div>
        
        <div class="line ness">        
            <select id="country" name="country" class="required">
                <option value="" [[+reg.country:FormItIsSelected=``]]>[[%registration.country:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]</option>
            [[!country]][[+countries]]</select>
            [[!+reg.error.country:is=``:then=``:else=`<div class="tale"><label for="country" class="error">[[!+reg.error.country]]</label></div>`]] 
        </div>
        
        
<!--        <div class="line ness" style="display: none;">        
            <select id="country_all" name="country_all">
                <option value="" [[+reg.country:FormItIsSelected=``]]>[[%registration.country:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]</option>
            [[!country_all]][[+countries_all]]</select>
            
        </div>-->
        
        
        <div class="line ness">        
            <input type="text" id="state" name="state" class="required" placeholder="[[%registration.state:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]:" value="[[!+reg.state]]"/>
            [[!+reg.error.state:is=``:then=``:else=`<div class="tale"><label for="state" class="error">[[!+reg.error.state]]</label></div>`]] 
        </div>
        <div class="line ness">        
            <input type="text" id="city" name="city" class="required" placeholder="[[%registration.city:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]:" value="[[!+reg.city]]" />
            [[!+reg.error.city:is=``:then=``:else=`<div class="tale"><label for="city" class="error">[[!+reg.error.city]]</label></div>`]] 
        </div>
        <div class="line ness">        
            <input type="text" id="street" name="street" class="required"  placeholder="[[%registration.street:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]:" value="[[!+reg.street]]"/>
            [[!+reg.error.street:is=``:then=``:else=`<div class="tale"><label for="street" class="error">[[!+reg.error.street]]</label></div>`]] 
        </div>
        <div class="line ness">        
            <input type="text" id="building" name="building" class="required" placeholder="[[%registration.building:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]:" value="[[!+reg.building]]"/>
            [[!+reg.error.building:is=``:then=``:else=`<div class="tale"><label for="building" class="error">[[!+reg.error.building]]</label></div>`]] 
        </div>
        <div class="line ness">        
            <input type="text" id="office" name="office" class="required" placeholder="[[%registration.office:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]:" value="[[!+reg.office]]"/>
            [[!+reg.error.office:is=``:then=``:else=`<div class="tale"><label for="office" class="error">[[!+reg.error.office]]</label></div>`]] 
        </div>
    </div>
</div>

<div class="hr"></div>
<div class="data_item">
    <div class="form">
        <p class="tip">[[%registration.tip? &namespace=`sitelang` &language=`[[++cultureKey]]`]]</p>
    </div>  
</div>

<div class="data_item last wt">
    <div class="form">  
        
        <h4>[[%registration.calculate:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]] [[!+reg.op1]] [[!+reg.operator]] [[!+reg.op2]] ?</h4>
        <div class="line ness">
            <input type="text" size="2" id="math" name="math" value="[[!+reg.math]]" class="registration_input required" style="display:inline" placeholder="[[%registration.answear_question:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]:"/>
        [[!+reg.error.math:is=``:then=``:else=`<div class="tale"><label for="math" class="error"/>[[!+reg.error.math]]</label></div>`]] 
    </div>
    <input type="hidden" size="2" id="op1" name="op1" value="[[!+reg.op1]]"/> 
    <input type="hidden" size="2" id="operator" name="operator" value="[[!+reg.operator]]"/> 
    <input type="hidden" size="2" id="op2" name="op2" value="[[!+reg.op2]]"/> 
    
    
    <input type="submit" id="registerBut" name="registerBut" class="butn" value="[[%registration.registrate:htmlent? &namespace=`sitelang` &language=`[[++cultureKey]]`]]" />
</div>  
</div>
</form>
<div id="selectdate" >[[!+reg.date]]</div>
подскажите в какую сторону смотреть.
заранее спасибо за отзывчивость)
Варлыгин
29 сентября 2017, 09:14
modx.pro
526
0

Комментарии: 0

Авторизуйтесь или зарегистрируйтесь, чтобы оставлять комментарии.
0