We have been advised by our server hosts that the code attached which is used to send a form to an email recipient should have a single constant "From" email address specified to avoid SPF related issues. At the moment the "From" is retrieved from the email form field.
I'm new in this forum, I am a consultant and have worked with multiple firms
You can check Accounting software videos one of my work.
The From field in the SMTP protocol tells where the message came from, every delivery host should have one — such as CodeProject Answers etc. If your server host is enforcing this, that means they are trying their best to fight against email spamming etc.
I recommend follow this, in ASP.NET you can also try to configure these SMTP based settings in the web.config file (unless, of course, you are trying to use a third-party SMTP client). Also, I do not understand the purpose of having an Email Form (or From) field, to update and modify the SMTP client itself. SMTP client should be configured with the default values for and settings for the account being used. Then use the form to get other dynamic content, such as 1) To, 2) Subject, 3) Message... CC, BCC etc are also possible here.
The sh*t I complain about
It's like there ain't a cloud in the sky and it's raining out - Eminem
~! Firewall !~
publicstaticvoid RedirectAndPOST(Page page, string destinationUrl, NameValueCollection data)
//Prepare the Posting formstring strForm = PreparePOSTForm(destinationUrl, data);
//Add a literal control the specified page holding the Post Form, this is to submit the Posting form with the request.
i am interested to know is there any web service paypal offer as a result we can use that and we can pass user and cart data to paypal by calling their web service as a result we can stay in our web site page and do not have to push user to paypal page.
basically i am looking for a way to pass information from my web site to paypal web site internally or silently by using their web service. so just redirect me to relevant paypal page or article which guide me how to use paypal web service if any exist.
Yes, you can definitely do this. I recently did a fairly complex checkout process involving initial charges and setting up recurring payments (subscriptions) while hosting all pages and using API calls. Check out PayPal Payments Pro .
However, IIRC, this is available only in the US, Canada, and UK.
I develop an ASP.Net Web Application (Classic) .Net-framework 4.0 and every thing ok, but when publish the application on IIS and open the login page some and click the login button this error shown some times:
"could not load file or assembly system.windows., Version 22.214.171.124, Culture=netural, PublicKeyTocken=7cec85d7bea7798e or one of its dependencies. The system cannot find the file specified"
Please let me know hot to solve it and what is the reason?
Check the application pool in IIS, it will be pointing toward .net 2 framework pool. If you already have application pool with .net 4 framework associate it else you have to create a pool for .net 4 and then associate it.
Can you describe the issue cause to me, i need to solve it and work on framework 4.0 and I can't upgrade to framework greater than 4.0 because I use a third party tools which work only on framework 4.0.
If we solve it this will good, otherwise we need to upgrade all used tools.