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

Sending Mail to Contacts
Hi, I need to write a trigger by which whenever a Contact is created, an email must be sent to the mail-id we specify. In that mail there should be :
Contact Details : 1.First Name. 2.LastName, 3.Account , 4.Content Like : "Hi , an Acc. is created bla bla bla......"
Contact Details : 1.First Name. 2.LastName, 3.Account , 4.Content Like : "Hi , an Acc. is created bla bla bla......"
I will suggest not to go via code for sending mails as you need to consider many more things like Number of Emails limit per transaction, what will happen if bulk load of contacts are done and others..
Instead of code, do this via Workflow which will be easier to maintain.
Pls mark this answer as solution if it resolves your query.
Thanks,
Dilip Singh