This topic is locked

Email Setting with SMTP Authetication

11/30/2011 4:38:49 AM
PHPRunner General questions
S
saurabh.k author

[size="3"]Hello ,
I have developed a project in PHPRunner 5.1. But in 5.1 we cannot set SMTP settings as Email settings.
I have seen this option in phprunner 6.0, I want to use SMTP authentication in the existing project.
can any one tell me how to use the code of SMTP authentication which gets generate in phprunner 6.0 in phprunner 5.1
Thanks in advance. [/size]

Sergey Kornilov admin 11/30/2011

You will have to add this sort of functionality manually. PHPRunner 5.3 and 6.0 use PHPMailer to send emails via SMTP. You can download PHPMailer, add it to your project and use PHPMailer functions to send an email.
This code sample should help:

http://phpmailer.worxware.com/index.php?pg=examplebsmtp