Hello Syamkishore1, Sending emails to contact person or what ever it may be its very simple through Apex:
Smalll snipet code which helps you to solve your problem.
Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage(); String Addresses -->will be having contact email id which will be stored.; mail.setUseSignature(false); mail.setToAddresses(strAddress ); mail.setSubject('T'); mail.setHtmlBody('Sample Test'); Messaging.sendEmail(new Messaging.SingleEmailMessage[] { mail });
If this solves your problem Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Hello Syamkishore1, Sending emails to contact person or what ever it may be its very simple through Apex:
Smalll snipet code which helps you to solve your problem.
Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage(); String Addresses -->will be having contact email id which will be stored.; mail.setUseSignature(false); mail.setToAddresses(strAddress ); mail.setSubject('T'); mail.setHtmlBody('Sample Test'); Messaging.sendEmail(new Messaging.SingleEmailMessage[] { mail });
If this solves your problem Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Sending emails to contact person or what ever it may be its very simple through Apex:
Smalll snipet code which helps you to solve your problem.
Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();
String Addresses -->will be having contact email id which will be stored.;
mail.setUseSignature(false);
mail.setToAddresses(strAddress );
mail.setSubject('T');
mail.setHtmlBody('Sample Test');
Messaging.sendEmail(new Messaging.SingleEmailMessage[] { mail });
If this solves your problem
Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Thank You,
Srinivas
SFDC Certified Developer
All Answers
Sending emails to contact person or what ever it may be its very simple through Apex:
Smalll snipet code which helps you to solve your problem.
Messaging.SingleEmailMessage mail = new Messaging.SingleEmailMessage();
String Addresses -->will be having contact email id which will be stored.;
mail.setUseSignature(false);
mail.setToAddresses(strAddress );
mail.setSubject('T');
mail.setHtmlBody('Sample Test');
Messaging.sendEmail(new Messaging.SingleEmailMessage[] { mail });
If this solves your problem
Hit Kudos if this provides you with useful information and if this is what you where looking for then please mark it as a solution for other benefits.
Thank You,
Srinivas
SFDC Certified Developer