Mail with attachment not working in live server [Resolved]

Posted by Only4ram under ASP.NET on 12/14/2016 | Points: 10 | Views : 242 | Status : [Member] | Replies : 1
Hi,

I have written code for sending mail with attachment it is working good in local but it does not work in live server if we send mail with out attachment it works good in live server also.Can you please any one help me that how to fix this issue?

Thank you.




Responses

Posted by: Sheonarayan on: 12/16/2016 [Administrator] HonoraryPlatinum | Points: 50

Up
0
Down

Resolved
Looks like the problem is with the path of the attachment, ensure that the file name you are going to attach in the email has correct path (physical path).

Thanks

Regards,
Sheo Narayan
http://www.dotnetfunda.com

Only4ram, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response