Send an email via tsmtp using different accounts

Send an email via tsmtp using different accounts

Postby Marco Turco » Tue Oct 07, 2008 11:25 am

Hi all,
I am trying to send an email using the tsmtp class.
My problem is that I need to use a different mailserver to send the email.

To make an example,
how can I send the email test@test.com using as mailserver "mail.softwarexp.co.uk" account "sender@softwarexp.co.uk" and password "sender" ?

Thanks in advance
Best Regards,

Marco Turco
SOFTWARE XP LLP
User avatar
Marco Turco
 
Posts: 858
Joined: Fri Oct 07, 2005 12:00 pm
Location: London

Postby James Bott » Wed Oct 08, 2008 2:56 am

Marco,

So what is the problem? Is it erroring out, and if so, what is the error?

Some servers may not let you do this as a spam prevention technique.

Are you able to send mail using a mail address that is the same as the server?

Regards,
James
User avatar
James Bott
 
Posts: 4840
Joined: Fri Nov 18, 2005 4:52 pm
Location: San Diego, California, USA


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: Google [Bot] and 65 guests