Home » Tag Archives: smtp

Tag Archives: smtp

How to Use Ruby on Rails for Local SMTP Email Testing

When it comes to testing email templates for production; I think it is fair to say testing is key. Action Mailer is one of the most recognized frameworks for sending out emails. With Action Mailer you can send out emails through different providers easily, preview templates, and so forth. (Although from my work experience, I have always found it extremely ...

Read More »

Postfix relay through Outlook (TLS)

Abstract We take email for granted. It seems so easy. Just click the send button. But spam has made sending and receiving email a lot more complicated. This is especially true for people who like to run their own networks at home. If you are like me, you might have 1 or more physical machines running multiple virtual machines, not ...

Read More »

Postfix relay through Yahoo! (SSL)

Abstract We take email for granted. It seems so easy. Just click the send button. But spam has made sending and receiving email a lot more complicated. This is especially true for people who like to run their own networks at home. If you are like me, you might have 1 or more physical machines running multiple virtual machines, not ...

Read More »

PHP Mail Function Example

In this example, we will see how we can send emails with PHP. After seeing this example, you will be able to send emails programmatically, which is especially useful in scenarios like the following: Registration confirmation. Password recovery. Notification delivery. And any other scenario where a service needs to contact a user. PHP has a built-in function called mail that ...

Read More »

Python Send Email Example

In this example, by using Python 3.4, we’ll learn how to send mails using Python’s smtplib module. SMTP stands for Simple Mail Transfer Protocol. It’s a protocol which handles sending e-mails and routing them between mail servers. To send a mail, we need the host and port of a server, then we send to this server the message with a ...

Read More »