DougHennig / SFMail

A library to send emails from VFP applications
15 stars 1 forks source link

compilation error #10

Closed ibalhk closed 2 months ago

ibalhk commented 2 months ago

📝 Provide detailed reproduction steps (if any)

✔️ Expected result

What is the expected result of the above steps?

❌ Actual result

What is the actual result of the above steps?

📷 Screenshots

Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form

ibalhk commented 2 months ago

We tried SFmail.prg but it has some error while building-compilation project below…. Program z:\utilities\sfmail\sfmail.prg has the following errors: Unknown STREXTRACT - Undefined And Program z:\utilities\sfmail\wwdotnetbridge.prg has the following errors: Unknown ADDPROPERTY - Undefined

Then when we run also get error like “16 Unrecognized command verb 209 try sfmail1.sendmail.smtp “

Anybody ‘s recommendation or suggestion / help is highly appreciable

Struggling to make it work!

Thanking you a lot in advance

ibalhk commented 2 months ago

wwwdotnetbridge.prg = When compile in VFP Version 6.0 have below erros. Compiling wwdotnetbridge.prg LOCAL loArray as Westwind.WebConnection.ComArray Error in line 408: Must be a variable or array. LOCAL loBridge as Westwind.wwDotNetBridge Error in line 448: Must be a variable or array. LOCAL loArray as Westwind.WebConnection.ComArray Error in line 451: Must be a variable or array. LOCAL loVal as Westwind.WebConnnection.ComValue Error in line 1267: Must be a variable or array.

Unknown ADDPROPERTY - Undefined

please help

DougHennig commented 2 months ago

SFMail requires VFP 9.

ibalhk commented 2 months ago

Sir,

Thank you so very much for your kind email and reply.

Well noted , however we do not have VFP Ver9 & cant find in the market

Is there any other suggestion to use with VFP 6.0, please help us in suggesting with your valuable comments.

Kind Regards,

Ashwani Bansal

From: Doug Hennig @.> Sent: Wednesday, August 21, 2024 12:54 AM To: DougHennig/SFMail @.> Cc: ibalhk @.>; State change @.> Subject: Re: [DougHennig/SFMail] compilation error (Issue #10)

SFMail requires VFP 9.

— Reply to this email directly, view it on GitHub https://github.com/DougHennig/SFMail/issues/10#issuecomment-2299317858 , or unsubscribe https://github.com/notifications/unsubscribe-auth/BKUGO6KB4PGP6PEDS5CVJMDZSNYAZAVCNFSM6AAAAABMZDLJ3GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJZGMYTOOBVHA . You are receiving this because you modified the open/close state. https://github.com/notifications/beacon/BKUGO6IR553JHRFZJLNGYXTZSNYAZA5CNFSM6AAAAABMZDLJ3GWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTUJBTHGE.gif Message ID: @. @.> >

DougHennig commented 2 months ago

You could try the Chilkat library (Google it to find the web site).

DougHennig commented 2 months ago

You must have removed the carriage return after the WITH THIS statement. Here is the code that is in the repository:

image

DougHennig commented 2 months ago

There are no images attached so I do not know what the error message is.

DougHennig commented 2 months ago

Still no image. Instead of replying via email, post directly to this issue on GitHub.

ibalhk commented 2 months ago

Good Day Sir, I again tried your suggestion and now when run the app, select to send email i get below run time error..

"Message not sent : Cannot find entry point SetClrVersion in the DLL."

Attached the screen shot

Please guide

Thank you Sir

SfmailErrorruntime3

DougHennig commented 2 months ago

This is not an issue with SFMail; it is an issue with wwDotNetBridge, which SFMail uses. See https://www.west-wind.com/wconnect/weblog/ShowEntry.blog?id=897 for assistance with this.

ibalhk commented 2 months ago

Sir, Thank you for your kind help and well noted, I have posted my issue on above West Wind link, waiting for their reply.

Just one question is it must to use wwDotNetBridge with SFmail to send out the email message?

Thank you for your help always.

Kind Regards, Ashwani Bansal

DougHennig commented 2 months ago

Yes.