Use ssmtp in ubuntu when user clicks on mailto: html tag

I've set up an ubuntu machine with ssmtp.

My website has a mailto tag that is asking the browser how it wants to send the email, but I want it to be sent automatically using ssmtp settings without asking the user.

<a href="mailto:?subject=....">Testing</a>

How can I do this? Or should I use a PHP instruction for this?

Thanks in advance!


I think it's impossible what I'm trying to do...

<a href="mailto:..."> 

is executed by the client and I want to use some server stuff instead. If I'm not wrong, it will use some email app from the client, nothing from the server.

Need Your Help

groupby common values in two columns

python pandas

I need to extract a common max value from pairs of rows that have common values in two columns.

Rich modalpanel closes automatically

jsf richfaces seam

I face the same issue as described here Rich modalpanel closes automatically

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.