Welcome! Log In Create A New Profile

Advanced

[WB25] Sending emails from the free PCS webdev-test hosting

Posted by DarrenF 
[WB25] Sending emails from the free PCS webdev-test hosting
May 15, 2021 04:41PM
Hi all,

I think the subject says it all; I remember seeing that it's possible to send test emails from the free webdev-test hosting service provided by PCS - does anyone know how it's possible?

Can it be done via SMTP? If so, what's the name of the SMTP server to use from webdev-test dot com?

Using pretty standard code grabbed from the help page:
// Start an SMTP session
MySession is emailSMTPSession
MySession.ServerAddress = "smtp.mycompany.us"   // ????
EmailStartSession(MySession)

// Build an email
MyMessage is Email
MyMessage.Sender = "sender@email.com"
Add(MyMessage.Recipient, EDT_PU_NewMessEmailSend)
MyMessage.Subject	= EDT_PU_NewMessTitle
MyMessage.Message	= EDT_PU_NewMessText

// Send the message
bEmailRes = EmailSendMessage(MySession, MyMessage)

Thanks...

Regards,
Darren.
Author:

Your Email:


Subject:


Spam prevention:
Please, enter the code that you see below in the input field. This is for blocking bots that try to post this form automatically. If the code is hard to read, then just try to guess it right. If you enter the wrong code, a new image is created and you get another chance to enter it right.
Message: