What is the problem?
You should ask people responsible for the mail server what are new requirements to connect to the mail server.
>
>My Visual foxpro application is enhanced with automatic mail sending faclity using our own mail sarver.
>
>But, Rececntly we shifted to Cloud mail server, now i cannot send any mail using SMTP setup.
>
>Please help me to solve this issue,my old codes are given blow.
>
>SMTP = CreateObject("EasyMail.SMTP.5")
>SMTP.MailServer = "mail.company.com"
>SMTP.Subject = "Sample EasyMail"
>SMTP.BodyText = "Testing EasyMail"
>SMTP.FromAddr = "
user@company.com"
>toadd = 'abdulla@swift.com'
>SMTP.AddRecipient("", Alltrim(toadd), 1)
>SMTP.AddAttachment("C:\data\trns.xls", 0)
>SMTP.Send
>
>
--sb--