how do I get past an smtp limit? [closed] - linux

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 11 years ago.
Improve this question
We have a website hosted on a shared hosting plan. It works for now but we are running over our limit for smtp emails. Our host charges us for anything over 250 emails sent. We send out daily alerts, password reminders, etc to our users (on an opt-in basis w/ the ability for them to easily opt-out).
Can we use our localhost server for email but still host the site on the remotehost? If not, are there any other (free) options?

Can you already send mail from your local server? If so, have the code in your web site pack up the information that needs to be sent that day into one email. You'll have to figure out the format to use so that you can separate them on the other end. Send it to a mailbox on your local host that is monitored by a process that unpacks the email, splits it up into separate emails, and sends those out directly. If your web host has a size limit on emails, you'll need to figure out how to break your daily output into chunks to avoid going over the size limit as well.
Or, pay a little extra to be able to send out more emails per month from your web host, which would be less complex, less prone to errors, and easier to implement.

Related

Nodemailer. Verify if two emails are sending correctly [closed]

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
Good morning and thank you in advance.
I put you in situation... I'm designing my first "professional" website and it have a form with personal data and the user have to attach confidential private document. When sending it, the app generates a PDF that is sent to the user to serve as proof of having made the request correctly and sends to my client that PDF and the documents attach in the form. You can not give the situation that you send an email but not the second, so, Would there be any way to verify that both emails will be sent correctly and that only in that situation will the be sent?
I'm using node.js on the server side and nodemailer to send the data.
Thanks
PD: Excuse my level of English.
Systems can fail due to any reasons, we must have backup plans, it depends on your use case how you handle the backup plans.
One approach to your problem statement can be you can have some key in Redis (or any cache database) to check if both emails are sent, if not you can retry sending the pending email.

Is there a maximum of emails that can be received for Gmail account? And what is it? [closed]

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 8 years ago.
Improve this question
Is there a maximum of emails that can be received per day for a Gmail account? And if there is - what is it? Is something like 500 000 or more incoming emails possible?
86,400 max limit
Here are best practices to avoid reaching the storage limit:
Send message logs and automated emails to Google Groups. Using Groups, you can use a web interface to read very large or frequently mailed announcements that quickly hit the receiving limits of your email account.
Avoid using a single account for multiple users, and use Google Groups for sharing mail. Map 10 or fewer email aliases per account. Use groups to create shared mailboxes or to allow many people to send and receive mail with a single address.
Subscribe to the daily digest forms of heavily trafficked email lists.
Avoid using catch-all accounts. Spammers often try to guess email addresses in your domain. When they guess incorrectly, the spam is delivered to the catch-all address. The high mail volume can quickly exceed the Gmail receiving limits.

Simplest, cheapest way to set up SMTP server on Linux? [closed]

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
In the past I have tried following this guide for setting up a mail server on Ubuntu (going with Postfix, Dovecot, and Squirrelmail) and have been unsuccessful. I seemed to have been doing everything right, but the mail was not going through.
Anyway, it's been a while, and I would like to start over from scratch. What is the simplest, cheapest (preferably free if I already have a domain name + server) way I can set up an SMTP server on Linux?
My end goal is to be able to send simple, short emails to my cell phone (from the command line) as reminders. That's all I really need.
sudo apt-get install mailutils
Then set up a gmail account and use that to send email with it. Works really easily. I've done this for seeing who's logged in to my minecraft server so my son can jump in when his friend goes on line: http://dymitruk.com/blog/2012/07/20/scripting-for-fun/
If you had errors like "relay access denied", then this indicates, that your e-mail provider needs some sort of authentication. That's nothing you can fix by using a different mailer.
You must configure the credentials for your mailer properly. My e-mail provider expects a user/password authentication. For my configuration (exim), this is configured on one line in a file /etc/exim4/passwd.client separated by colons:
mail-relay-host:user-name:password
You might also look over at https://serverfault.com/, https://unix.stackexchange.com/ or https://superuser.com/, see e.g. https://unix.stackexchange.com/q/1449/26493

how to move messages from one Gmail account to another [closed]

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
I would like to create a backup of a Gmail account into another Gmail account. There could be many reasons why would someone like to do this, but in my case my Gmail account got full but instead of deleting messages would like to archive them in another account.
I was thinking about using POP3 / all / fetch from another account, but I would like to keep the folder structure and POP3 destroys it.
As far as I know IMAP would be the best way to keep the folder structure, but when I tried it with Thunderbird, it could not reliable copy messages from one IMAP to another IMAP.
Are there any script or software (preferably running on Windows, but I can run Virtualbox), what would mirror an IMAP account to another one reliably?
Gmail itself can do that, as in associating an account with another and automatically grabbing the emails from one account to the other.
Go to 'Mail Settings' --> 'Accounts and Import' tab. You should see:
Import mail and contacts: Import from Yahoo!, Hotmail, AOL or other webmail or POP3 accounts.
which does that exactly. You can choose whether to leave the emails on the other account or not. And I think that's all you need.
The corresponding gmail help page
So, using a Google Apps account won't do that. What you can do is backup your mails locally somewhere and upload/restore them to the new account later.
I think Gmail backup fits you. Please take a look at its features and notice its flaws(ie can't handle labels that use characters other than [a-zA-Z0-9]) and also see this question related to having a Google Apps account.
Other than that, there is Gmail keeper that was made for Google Apps email users, as the site states. You may want to take a look at that.

IIS Smtp Server [closed]

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 8 years ago.
Improve this question
My application needs to send thousands of emails on a daily basis.
So I thought about writing my own smtp server, using C#, which would pull a database every minute to see if there are any pending email messages.
But, then I came across Microsoft's IIS SMTP service....
My question :
Can the IIS SMTP service handle that amount of outgoing emails, and is it reliable? Or should I reinvent the wheel and write my own?
Thanks
Yes, IIS SMTP can handle it.
Yes iis SMTP should be fine. But there are few things you should consider.
Load test the server : This will give you the maximum number of emails which can be sent at a time.
If you are planning to send large number of emails, its better to "sleep" after sending few emails and then continue with the rest.
I once wrote a cron job to send out emails in a short interval and I made a mistake of not checking the status of the previous job. A job crahsed in between and the second one started sending emails to the same address which crashed and then the next one started......
Only reinvent the wheel only if you can design a much much better wheel ;-)
I would consider using 3rd party services. This is not cheap, and there is good reason they charge money for that.
1st, if you plan on sending high volume of emails on regular basis, you need to build trust relationship with major email vendors: definately gmail, hotmail, yahoo, excite, altavista, etc. That relationship will take a while, but is well worth it. Without that, your server will get banned very fast.
Check out iContact, Mailchimp, or Aweber.
Good luck
I would suggest you do some load testing on the SMTP server to make sure it handles the load you are expecting to put on to it.
I would not suggest you reinvent the wheel by building your own SMTP server. If you find the IIS SMTP performance is not up to scratch you could try and find an open source one.

Resources