Do you guys know how to write newsletter subscription in asp.net ? Is there any practice for that or we simply should use a standard way to build newsletter subscription like a table and saving e-mails into this table. When admin clicks send button of an e-mail and all the recipients get the e-mail.
Thanks.
There are no fast hard rules. It all depends on what features your business requires.
I'm not sure about abroad, but in the US it's required by law (Can SPAM 2003) to give the user an unsubscribe feature.
By saving the emails in a database, you can easily automate the unsubscribe feature.
There's an ASP.Net Newsletter project on Codeplex. You might want to have a look at what they do for inspiration, or perhaps just use that project.
Related
I have a wish to somehow create on front-end a page with webmail client, to access up to 20+ email accounts, also send/recieve emails, etc. Like Thunderbird, or any other email client but on web. I didn't found any plugin for this purpose and maybe you have some ideas how to do that? Thanks!
this might be extremely hard if you wish to build from scratch. My best guess is that you need to find an open-source email client and integrate it within the WP framework. But that also will be hard to do, finding an open-source email client will save a ton and tons of time to build a strong email client but you're going to have to customize its structure to make compatible with WordPress environment, like database calls, authentication and more.
Still, you can always build a simple email client that checks the client email server grab his emails, and send an email if they want to, this is possible using the POP, SMTP PHP functionalities that allows you to talk to the email server.
Thanks
I want to integrate Marketo api with my .net project.
My client has given a username & password to Marketo. I want to retrieve "opportunities" from Marketo. I have written code for that. Currently there are not any opportunities so I'm not able to test my code. Has anyone an idea how to create opportunities in Marketo so I can whetehr check my code is retrieving that records or not?
Opportunities are not visible as standalone entities in Marketo as they are in SFDC or other CRMs. Rather, as #joev said, you have to find a lead that has an opportunity and view the opportunity details within the context of that lead's detail view, on the Opportunity tab.
If you want to use the GUI to create an opportunity, the right place to do that would be in the CRM — not in Marketo.
You need to have create/update right via API, ask your client for create/update rights then you will be able to create some data through API itself.
Like other people have mentioned there isn't a direct GUI inside Marketo for creating opportunities. These are typically created via the CRM (aka Salesforce, NetSuite, Microsoft Dynamics, etc...) and then sync'd to Marketo.
If you want to test it and have no CRM available -- technically you can just use the REST API to sync your own opportunity to a lead. Once done you could login to Marketo to visually validate it. Then now that you have an opportunity created you could then use the API to GET the opportunities and further validate your integration.
Here is a link to Marketo's documentation on how to sync an opportunity to Marketo. Also on that page is the documentation on the other REST API options.
I'd like to register all of our staff to have gravatars. They are an unreliable bunch, so if I ask them to sign up for one it would take about 6 months to get to 50% completion.
I could use selenium to drive the website to sign everyone up, then simultaneously reconfigure the spam filter to collect all the confirmation emails, then go back over all of those emails and confirm the accounts. But that feels like a very dirty hack.
This question mentions a similar need, but there isn't an answer.
Does anyone know if there is a better way to sign up for a lot of gravatar accounts in one go?
Gravatar protects itself from spamming their registrations system by using email confirms.
Besides, you're breaking their TOS by trying to automate signups.
Best thing to do is take the management approach - this is more of a management issue than programming - and tell your staff they are required to get a Gravatar, or 1) they don't get their daily Gummy Bears, or 2) they're fired.
I am working on one asp.net mvc project. In which I want the facility of customer feedback. Suppose I have sent email for getting feedback on our services. So we are sending emails to customers. They gives answer via Reply of that email. And we want to save that reply automatically in database tables. Its sure that we will receive email on one our fixed email address.
So basically i want to store the reply of email from customers into the database with that customer email id. please note here Customers reply email id will be the unique customer field for me.
Is this possible? How can i achieve such functionality? Please suggest me.
Thanks in advance.
Saving email replies has nothing to do with asp.net mvc per se.
having said that, here are some solutions that you can evaluate:
assuming all the replies go to a designated mailbox (Exchange or whatever), you can setup filters (e.g. VBA files in Exchange) which can intercept the incoming emails, parse them and save it to the data base.
if you don't want to mess with mail server native filters, you can write an offline utility (C# console app, windows service, powershell script etc.) which can query a Mailbox and parse the emails and save it to the database.
All of the above approaches have their pros/cons based on ease of installation, logging, maintainability etc.
p.s. please discard the below if it doesn't make any sense for you.
an uber advice i have always received for customer feedback design problems is to get as much objective data as possible. (as opposed to unstructured textual content in an email) and to get objective data,
one option is to have a feedback form on the website where users fill in definitive fields and you can save the information in a very structured and objective manner.
another option is to send them an email with a link to the feedback form on the site, so that if not immediately, they can leisurely come back to the same site and you collect objective data the same way.
saves you the trouble of parsing emails, trying to save email documents, parsing html/string contents, manual intervention to interpret sentiments of the email etc.
I have a client who has a crimestoppers' website. They want to provide visitors a means to submit anonymous crime tips, which would then be forwarded to a pre-established email address at the local police department.
What is the best / easiest way to accomplish this? The sender's IP address needs to be hidden. My client also needs to be able to pull reports showing how many tips were submitted and forwarded.
Many thanks!
A simple contact form can be used. It's up to the developer's trust to hide the IP. The submitter won't see anything what is being done using PHP.
You can then update a database with the tips being posted before sending the mails.
In terms of development, you can use a plugin such as Contact Form 7 and then use its hooks to save the tips submitted before sending the mails.
While it is rather simple to set up a contact form that submits to an email address (just use the excellent ContactForm7, as rrikesh's answer suggests). However, getting anonymity right (especially against a party that has as much power and resources) is tricky. You need to be clear about the level of anonymity that you can provide. Log files, document metadata or your ISP can easily give a lot of information away.
Here are two project that have different approaches. They're both not ready-made solutions to your question, but still relevant:
PrivacyBox:
This is a web service run by the German Privacy Foundation. It's basically a message relay like the one you want, except that the user has to trust the Foundation, not you. This model highly depends on the institution providing this service. I'm sure there are other, US-based services like this.
Briefkasten:
An open source software tool used by the German newspaper Die ZEIT.
a reasonably secure web application for submitting content anonymously. It allows to upload attachments which are then sanitized of a number of meta-data which could compromise the submitters identity. Next, the sanitized files are encrypted via GPG and sent via email to a pre-configured list of recipients. The original (potentially 'dirty') files are then deleted from the file system of the server. Thus, neither should admins with access to the server be able to access any submissions, nor should any of the recipients have access to the unsanitized raw material.
This is an attempt to automate the crucial steps to strip any identifying data from the submission and encrypt it, so only the intended recipients can access it.
You would have to host this yourself, though. And it's a Python app.