You need to sign in to do that
Don't have an account?

standard verification email not sending to new user, please help
hi dudes, If i enter a record in newchatter__c object then a new user record should be created in user object. Upto here working, after trigger inserting the data to user object the new user record is creating but confirmation email not sending to him, Please help.......
below are created users but, verificaion email not sent to them.

trigger copytouserobject on newchatter__c (after insert) { list<user> allusers=new list<user>(); // list<profile> p1=[ select id from profile where id = '00e28000000oU4t' limit 1]; for(newchatter__c n1:trigger.new) { user u1=new user(); u1.FirstName=n1.First_Name__c; u1.LastName=n1.Last_Name__c; u1.Alias=n1.Alias__c; u1.Email=n1.Email__c; u1.CommunityNickname=n1.Nickname__c; u1.username=n1.Username__c; u1.Profileid ='00e28000000oU4t'; // u1.CurrencyIsoCode = 'USD'; u1.localesidkey='en_US'; u1.timezonesidkey='America/Los_Angeles'; u1.EmailEncodingKey = 'ISO-8859-1'; u1.LanguageLocaleKey = 'en_US'; u1.UserPermissionsMobileUser = false; allusers.add(u1); } insert allusers; }
below are created users but, verificaion email not sent to them.

I found the issue, that these checkboxes are acivating if the user record is created from apex code. Please help me to check these checkboxes in the above trigger code. In the below screen shot i circled the requirement.
