![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Have found that emails do not go through our company server but will go through other provider servers, e.g. rogers.com in Canada. How do I adapt the following script components that form part of the BP kit to overcome this and in general the world at large. Is there a general enough type instruction that will fit servers globally? Here is BP kit portion of Send Mail script: Go to layout["Form view campaigns"(campaigns) Set Variable [$$ desktop;Value:let([ MAC="filemac" & Get(DesktopPath); PC="filewin" & Get(Desktop Path)]; Case(Abs(Get(SystemPlatform))=1; Mac;Abs(Get(SystemPlatform))=2: PC & GetAsText(Campaigns::Attachment))] If [notisEmpty(Campaigns::Attachment)] Export Field Contents [campaigns::Attachment; "$$desktop"] etc Help and thanks, Jim, |
#3
| |||
| |||
|
|
The Send Mail step that is built into FileMaker (not sure what the "BP kit" is) uses the default email application on the machine running it. This means it will go through whatever mail server has been set up in your email application. As for merging multiple field names for the body of the email, I'm guessing that you are on an older version of FileMaker (prior to FM7), as FM7 and later allow you to define any calculation you want for the To, CC, Bcc, Subject and message. If your version only allows a single field to be selected, then use the Set Field step to set a global field to whatever concatenated text you'd like and then point from the Send Mail step to that global field. TIGER wrote: Have found that emails do not go through our company server but will go through other provider servers, e.g. rogers.com in Canada. How do I adapt the following script components that form part of the BP kit to overcome this and in general the world at large. Is there a general enough type instruction that will fit servers globally? Here is BP kit portion of Send Mail script: Go to layout["Form view campaigns"(campaigns) Set Variable [$$ desktop;Value:let([ MAC="filemac" & Get(DesktopPath); PC="filewin" & Get(Desktop Path)]; Case(Abs(Get(SystemPlatform))=1; Mac;Abs(Get(SystemPlatform))=2: PC & GetAsText(Campaigns::Attachment))] If [notisEmpty(Campaigns::Attachment)] Export Field Contents [campaigns::Attachment; "$$desktop"] etc Help and thanks, Jim, -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Howard Schlossberg (818) 883-2846 FM Professional Solutions, Inc. Los Angeles FileMaker 8 Certified Developer Associate Member, FileMaker Solutions Alliance |
![]() |
| Thread Tools | |
| Display Modes | |
| |