+ Start a Discussion
UmapenUmapen 

mailDispatch not working production

I have the following code that works in sandbox not working in production environment. 

I am getting invalid type error message for first line mailDispatch.  I am using this to send mass emails in my VF code.

 

mailDispatch md = new mailDispatch();
md.sendmail(contact.email);

Is this correct way of using? Not sure why working in sandbox? 

 

Message Edited by Umapen on 09-28-2009 08:59 AM