You need to sign in to do that
Don't have an account?
Nila
Email Sending is not working
Hi There,
I have custom s-control to send email to User . Before it was working suddenly it stops working I can not see anything wrong . Any idea? Do I need to change any setting in salesfoece?
Code looks like
var singleRequest= new sforce.SingleEmailMessage();
singleRequest.toAddresses =contactEmail;
singleRequest.htmlBody = strBody;
singleRequest.bccAddresses = user;
singleRequest.subject = "test";
singleRequest.replyTo = user;
singleRequest.htmlBody = strBody;
singleRequest.bccAddresses = user;
singleRequest.subject = "test";
singleRequest.replyTo = user;
try
{
var sendMailRes = sforce.connection.sendEmail([singleRequest]);
alert('Email sent to user id: ' + contactEmail);
{
var sendMailRes = sforce.connection.sendEmail([singleRequest]);
alert('Email sent to user id: ' + contactEmail);
}
catch(err) {
alert(err)
}
catch(err) {
alert(err)
}
No, I am not getting any error Its saying emai is sent.
But I can not receive email in inbox.
Is it any setting or what?