Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
I know this is an big open question, but I'm more interested in the email functionality of a helpdesk.
If I were to build an online web application / help desk for my site how does the email monitoring work? How would the application retrieve the emails and create or update a ticket based on the ticket ID in the subject line?
I've never understood this and considering the attempt.
You assign some email addresses to the application, then set up email handling to route messages for that address to the application. This can be something simple like running fetchmail to pull email from the inbox on the email server and piping it to the application. Or you can update your email server to forward messages to the helpdesk server and set up an MTA like postfix to accept the messages and pipe them to the helpdesk application.
There are 100's of open source helpdesk applications, so I would recommend finding one in your language of choice and adding a feature rather than re-implementing this one feature. Handling email properly is very difficult because the specs are detailed and confusing, and you'll get a bunch of email that doesn't follow the specs.
If you just want to understand how it works, try setting up one of the open source applications and running some email through it. Turn on debugging and you can then find and read all of the code. Request Tracker (RT) is one option. rt-mailgate is the program that handles email. The basic instructions for setting up email aliases are covered in the README in step 10.
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
I am running a marketing campaign through Amazon SES and other few services. The email providers are zoho and gmail.
What I need to know is how can i get a list of emails which have bounced and remove it from mailing list to keep the list cleaned. Now I need to do it on a daily basis. Does gmail or zoho give provides a way to get a list through api or any other way? AFAIK SES does not provide an api to get a list directly of the bounced emails. Does gmail or zoho provide an api?
I think, it can be collected through scraping the inbox. Doing it manually is not a feasible option.
What I am missing. What is the standard way to handle this problem?
What you need is scrape your inboxes to get all bounced emails by subject.
Read about IMAP. Also, check out imaplib package and email package python.
https://docs.python.org/3/library/imaplib.html
https://docs.python.org/3/library/email-examples.html
This blog can be really helpful:
https://yuji.wordpress.com/2011/06/22/python-imaplib-imap-example-with-gmail/
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking for code must demonstrate a minimal understanding of the problem being solved. Include attempted solutions, why they didn't work, and the expected results. See also: Stack Overflow question checklist
Closed 9 years ago.
Improve this question
I'm a researcher and i need to send 5000 mail to ask to the targets of my research to compile a survey. I own a gmail account bought to me by the university. How do i send this mail? I can write easily a simple script that send all the email but i'm afraid that sending so much messages could cause me problems leading to the block of my gmail account. I have not been able to understand what are the limits of a gmail account and how to realize a script able to do this without problem.
It's better to not use Gmail for bulk mailouts for multiple reasons:
500 recipient limit: Gmail has a 500 recipient limit for standard mailouts, and I believe 500 mailouts a day limit.[1]
CAN-SPAM Compliance: Sending unsolicited emails may flag your account for spam, therefore compromising sending future emails from your account .
The easiest and best way to do this is either yourself using an SMTP server or using a service such as aWeber or ListWire etc to mail on your behalf for a nominal fee.
I would recommend doing a service if it's only a one off mailout, see this question for various services.
Looking for bulk and transactional email-sending service
Additionally read up on CAN-SPAM compliance in order to ensure that if this is indeed unsolicited[2]. Your survey might be better off on a landing page explaining:
Who you are
What you will do with their information
[1] https://support.google.com/a/answer/166852?hl=en
[2] emailmarketing.comm100.com/email-marketing-tutorial/can-spam-compliance.aspx
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
Mailchimp, the online service for sending newsletters, has an statistics about how many people marked email you sent as spam. Does anybody know how this works? I am asking because I was thinking about how to implement this into my CMS which sends newsletters as well. Thanks for replies!
It's called FBL (feedback loop) and means that you register your MTAs (email sending servers) at the ISPs that supports FBLs (Yahoo, Hotmail etc.)
All you have to do is to sign up for every available FBL via their forms and then they will send you an email every time someone mark email sent from those servers as spam (spam complaints).
Then you'll have to parse those emails to get the information from it.
Have you checked Mailchimp Support?
http://kb.mailchimp.com/article/how-spam-filters-think
An abnormally high bounce rate is another indicator. Look through your hard bounces, and read the SMTP replies. Spam filters sometimes leave little clues about why they blocked your campaign (See: http://kb.mailchimp.com/article/why-did-my-email-bounce-smtp-replies).
Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 12 years ago.
Improve this question
I'm sending out a notification email every day to our customers, when new data in our service becomes available. No, it's not spam, it's a notification that customers have asked for, and can be turned off - just in case you were wondering. :)
I noticed that some websites have a noreply#domain.com address which they use to send all the notifications?
Why not just use an email address that is an alias to the support email. That way, if somebody replies to a notification (meaning they have a question) it goes directly to support. Why even bother explaining that "BTW, this email is not supposed to be used for support, please don't reply - use something else instead" when you could just have both pointing to the same inbox anyway? Or is there some other reason that I'm missing?
Maybe they don't want to read all the vacation and failure notices.
Small web sites probably do that, but eBay would be getting 10's of thousands of support emails per day (more than already) if that were the case. They could implement an automated filter of the noreply email address to find some that might need answering.
I guess it also comes to down to the fact that sending you an email from a noreply#* address isn't actually instigating a conversation. If they send you an email to which they want or need a response, or are responding to an email you've sent them, of course it makes no sense to use such an address.
So I don't think it's particularly down to technology, and more about expectations and conforming to people's existing mental models of how conversations and general sales pitches work.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
We use Google Apps (Gmail) to send and receive all of our email. Our application, which has grown in popularity over the years, sends email to its users per their request. It's not spam, it's important email they ask for.
Gmail (rightfully so) restricts the number of emails you can send. We get around this by queuing our mail and sending it at a slower pace, which works most of the time. We also use multiple email addresses to allow ourselves to send more than the 100-500 email limit.
Is there a way we can send email from our own SMTP server and follow all the proper rules and etiquette to not get flagged as SPAM? This way we can avoid GMail's restrictions.
Are there any good guides for setting up your own email SMTP server to send mail to avoid being flagged as SPAM?
Also, before anyone suggest that I use a 3rd party email sender, I need to be able to send these emails using Java.
(if this question is more appropriate on serverfault, I'm happy to move it)
I'd recommend http://sendgrid.com
It's quick to set up, well-priced, and they do much of the work to ensure your mail is deliverable (assuming you aren't sending spam in the first place, of course).
Oh and just to clarify, while Sendgrid is a 3rd party service, it's essential just a SMTP server in the cloud, so you should be able to switch from gmail to sendgrid by simply pointing at sendgrid's SMTP server instead of gmail's.