FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Harbour/xHarbour Send an email via tsmtp using different accounts
Posts: 858
Joined: Fri Oct 07, 2005 12:00 PM
Send an email via tsmtp using different accounts
Posted: 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
Posts: 4840
Joined: Fri Nov 18, 2005 04:52 PM
Send an email via tsmtp using different accounts
Posted: Wed Oct 08, 2008 02: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

FWH 18.05/xHarbour 1.2.3/BCC7/Windows 10

Continue the discussion