forum.boolean.name

forum.boolean.name (http://forum.boolean.name/index.php)
-   PureBasic (http://forum.boolean.name/forumdisplay.php?f=90)
-   -   SMTP (http://forum.boolean.name/showthread.php?t=12263)

levinter 24.03.2010 13:32

SMTP
 
надо чтоб процес зашел с определеного майла затем с этого майла отправил фаил на другой маил

Пётр 25.03.2010 15:23

Ответ: SMTP
 
Ставишь друпию и юзаешь функцию SendEmail
Код:

SendEmail(Name.s,sender.s,recipient.s,Username.s,Password.s,smtpserver.s,subject.s,body.s)
Description:
Send a mail with authentication ( Set Username / Password ) or without authentication if you leave them to blank.

Name: set the name of the sender
Sender: set the Sender Email Address
Recipient: set the Recipient Email address
SmtpServer: set the Smtp Server
Subject: set the Subject
Body: set the Body

levinter 25.03.2010 23:29

Ответ: SMTP
 
спс .. я уже нашел теперь вопрос по етойже теме MailTo.s = "[email protected]"
MailFrom.s = "[email protected]"
Subject.s = "Test (with login authentication)"
Attachments.s = ""
Username.s = "vasya"
Password.s = "vasya"
; sending mail
Status.l = PureSMTP_SendMail(MailTo, MailFrom, Subject,Text, Attachments, Username, Password)
как правильно указать Attachments.s пробывал указать путь не получилось

Пётр 26.03.2010 02:04

Ответ: SMTP
 
Здесь посмотри http://purebasic.info/phpBB2/viewtop...?t=103&start=0

levinter 28.03.2010 17:19

Ответ: SMTP
 
спс))


Часовой пояс GMT +4, время: 12:32.

vBulletin® Version 3.6.5.
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Перевод: zCarot