You need to sign in to do that
Don't have an account?
Vishal_Thoriya
how Send an Email with any kind of file attachment to desired email address?
hi all,
i have question ?
how can we send an email with our file attachment to desired email address ?
like gmail and yahoo i want the same kind of page......
any kind of help will be gratly appriciated..........
thanks in advance........
Vishal Thoriya.
You could try going to the link below. It helped me when I was trying to figure this stuff out.
http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#CSHID=apex_classes_email_outbound_single.htm|StartTopic=Content%2Fapex_classes_email_outbound_single.htm|SkinName=webhelp
All Answers
the above code is my controller
and my apex page code is:
but i am using <apex:input file> to upload my file but
my question is how to send it that file to my email address
You could try going to the link below. It helped me when I was trying to figure this stuff out.
http://www.salesforce.com/us/developer/docs/apexcode/index_Left.htm#CSHID=apex_classes_email_outbound_single.htm|StartTopic=Content%2Fapex_classes_email_outbound_single.htm|SkinName=webhelp
hi this is my class code:
i am passing the contact id in my VF page url but i am recieving the email without attachment..........
i have no idea what is going wrong?
can you suggest me the issue?
why am not getting attachment
the contactId which i am passing has two attachment files.........
Thanks in advance........
Well I used your code on a test page and it seemed to work.
I created a Detail page button and the Url is : /apex/testPage?Id={!Contact.Id}
The Visual Force Page:
Extensions :