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

how to write a visual force program when transaction type deposit/withdrawn then Email should be sent
HI , I'm New to sfdc please help me
function readOnly(count){ }
You need to sign in to do that
Don't have an account?
You can create workflow in Salesforce to send email alert.
Here link to create workflow
https://help.salesforce.com/articleView?id=workflow_rules_new.htm&type=0
by using vf i required @Prakash Nawale
Can you please explain your complete use case.
Customer Name ;
Transcation type;
Transcation Amount;
Email Id;
Whenever Transcation Type(Picklist values ---> Deposit & Withdrawn) changes. Email should be sent to the given mail id in Email field.
& If Transcation Type changes then Transcation AMount also should be change i.e; If it is Deposit then Amount should be Added where Transcation Type = withdrawn then AMount be Subtracted
Use below code in your Visualforce page button action in apex method.
FYI:https://developer.salesforce.com/docs/atlas.en-us.apexcode.meta/apexcode/apex_forcecom_email_outbound.htm
Everything Ok But I'm not receving the mail.setHtmlBody(body); to email field When i saved the Program
Can you check Email Deliverability from Setup=>Email Administration.
Make sure Access level equals All Email.
Please let me know will it works or not.
Regards,
Prakash