• Welcome to PHPVIBE Forums. Please log in.

[ Video Sharing CMS v4 ] Mail

Started by shiv12,

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

shiv12Topic starter

Is there any mail system....Like whenever new use register on website that time he get welcome mail and password conform mail....And announcement like i can send messages to all of my users.
  •  

PHPVibe A.

Quote from: Alexander on
PHPVibe uses PHPMailer https://github.com/PHPMailer/PHPMailer (has documentation)

You can look at the forgot password.

shiv12Topic starter

#2
Can u please add mail system....Like whenever new use register on website that time he get welcome mail and password conform mail....And announcement like i can send messages to all of my users....and new upload video by my subscribe messages  on my mail like youtube....In v3.7
  •  

fourdeltaOne

I'm sorry, I do not work smtp.
configured file class.phpmailer.php.

changed the data.

public $SMTPAuth = true;
public $Host = 'my host smtp';
public $Username = 'my user smtp';
public $Password = 'my pass smtp';
Skype: epic.mediauz
  •  

PHPVibe A.

You don't need to edit the class.
You can just init it for SMTP when called:

$mail->isSMTP();                                      // Set mailer to use SMTP
$mail->Host = 'smtp1.example.com;smtp2.example.com';  // Specify main and backup SMTP servers
$mail->SMTPAuth = true;                               // Enable SMTP authentication
$mail->Username = 'user@example.com';                 // SMTP username
$mail->Password = 'secret';                           // SMTP password
$mail->SMTPSecure = 'tls';                            // Enable encryption, 'ssl' also accepted


Or use the plain php method.

shiv12Topic starter

But how it will automatically send welcome mail to newly registered user.
  •  

fourdeltaOne

Quote from: Alexander on
You don't need to edit the class.
You can just init it for SMTP when called:

$mail->isSMTP();                                      // Set mailer to use SMTP
$mail->Host = 'smtp1.example.com;smtp2.example.com';  // Specify main and backup SMTP servers




$mail->SMTPAuth = true;                               // Enable SMTP authentication
$mail->Username = 'user@example.com';                 // SMTP username
$mail->Password = 'secret';                           // SMTP password
$mail->SMTPSecure = 'tls';                            // Enable encryption, 'ssl' also accepted


Or use the plain php method.





where to insert these lines? possible detail. Do not know what to do already ..
Skype: epic.mediauz
  •  

fourdeltaOne

understood how to do.
and notification of new videos can be done by mail?
Skype: epic.mediauz
  •  

shiv12Topic starter

fourdeltaOne can u please tell me how i can do that.
  •  

PHPVibe A.

Quote from: fourdeltaOne on
understood how to do.
and notification of new videos can be done by mail?

Sure, if you hook a mail send in the receivers for videos it's easy.
For example lib/ajax/AddVideo.php for embeded ones, and videocron.php for ffmpeg converted ones, and lib/upload.php if you don't use ffmpeg.

Similar topics (7)