Send email with dedicated SMTP settings from a Craft 2 plugin
So basically I solved it like this, but couldn’t apply other SMTP settings than the global ones. But we did a workaround with the replyTo-address, so practically we are fine. If someone knows how to apply other SMTP-settings, feel free to answer. Thanks!

namespace Craft;
$email = new EmailModel();
$emailSettings = craft()-&gt;email-&gt;getSettings();

$email-&gt;toEmail   = $_REQUEST['email'];
$email-&gt;replyTo = 'test@test.com';
$email-&gt;subject = "Subject";    
$message = "...";

$email-&gt;body = $message;

craft()-&gt;email-&gt;sendEmail($email);