I would like to know how to build outgoing and incoming email feature(like yahoo or google or any other email) from my expermintal website, would like to know how to attach files (different formats). Is this possible using any of the nugets?
I was able to setup something like send email from the site, but that send just what i typed in one big box , not able to have a subject, cc and BCC and attachment features and spell check features.
Any help would be greatly appreciated. Thanks to the webmatrix 2 guru's out there.
Most browsers support spellcheck these days, so you don't need to do anything.
Integrating with incoming email is a totally different thing. You should check with the APIs of the providers you want to integrate with. There's nothing WebMatrix-specific to help you with that, but you can search Nuget to see if anything exists there.
Thanks once again for a quick reply. This did work for me, I had to have the file in the Starter site root folder for the upload to happen, is there a way I can have the files in my harddrive and be able to attach to the email.
is there a way I can have the files in my harddrive and be able to attach to the email.
Only if you run the web site on the same machine as the hard drive. Once you host your site remotely, it will not have access to your computer so you have to upload the file you want to attach.
srini23
Member
20 Points
39 Posts
how to build email capability in web matrix 2 RAZOR synatax
Aug 20, 2012 05:01 AM|LINK
I would like to know how to build outgoing and incoming email feature(like yahoo or google or any other email) from my expermintal website, would like to know how to attach files (different formats). Is this possible using any of the nugets?
I was able to setup something like send email from the site, but that send just what i typed in one big box , not able to have a subject, cc and BCC and attachment features and spell check features.
Any help would be greatly appreciated. Thanks to the webmatrix 2 guru's out there.
Mikesdotnett...
All-Star
154818 Points
19853 Posts
Moderator
MVP
Re: how to build email capability in web matrix 2 RAZOR synatax
Aug 20, 2012 07:02 AM|LINK
See this: http://www.asp.net/web-pages/tutorials/email-and-search/11-adding-email-to-your-web-site and this: http://www.asp.net/web-pages/tutorials/files,-images,-and-media/working-with-files
Most browsers support spellcheck these days, so you don't need to do anything.
Integrating with incoming email is a totally different thing. You should check with the APIs of the providers you want to integrate with. There's nothing WebMatrix-specific to help you with that, but you can search Nuget to see if anything exists there.
Beginning ASP.NET Web Pages with WebMatrix | My Site | Twitter
srini23
Member
20 Points
39 Posts
Re: how to build email capability in web matrix 2 RAZOR synatax
Aug 20, 2012 08:23 PM|LINK
Thanks once again for a quick reply. This did work for me, I had to have the file in the Starter site root folder for the upload to happen, is there a way I can have the files in my harddrive and be able to attach to the email.
Once again thanks for your reply.
Mikesdotnett...
All-Star
154818 Points
19853 Posts
Moderator
MVP
Re: how to build email capability in web matrix 2 RAZOR synatax
Aug 20, 2012 09:13 PM|LINK
Only if you run the web site on the same machine as the hard drive. Once you host your site remotely, it will not have access to your computer so you have to upload the file you want to attach.
Beginning ASP.NET Web Pages with WebMatrix | My Site | Twitter