then i think its better to go with orgwideemailaddress concept if the business requirement is not like that i think then you need to go with setsenderdisplayname method from singlemail to eliminate that.. i think for sandboxes only it will come like that but not with production
Hello, I am also trying to remove "Via details" at recepient end but unable to do so.I tried email.setSenderDisplayName ('Company name'); but its not working as expected. Its not removing "Via " at recepient end @suresh : Did you find any solution for the same please help if any.
r u using email services ?
No.Just using the sendmail method from Apex [Messaging.SingleEmailMessage]
then i think its better to go with orgwideemailaddress concept if the business requirement is not like that i think then you need to go with setsenderdisplayname method from singlemail to eliminate that.. i think for sandboxes only it will come like that but not with production
Kiran.
Thanks for reply.
I also tried setsenderdisplayname it works fine but the via is displaying again.
OK i try from developer edition whether it works or not.
cheers
suresh
I am also trying to remove "Via details" at recepient end but unable to do so.I tried
email.setSenderDisplayName ('Company name');
but its not working as expected. Its not removing "Via " at recepient end
@suresh : Did you find any solution for the same please help if any.
Thanks
Shephali.