Hi Crystal,
---In MS_Access_Professionals@yahoogroups.com, <strive4peace2008@...> wrote :
Hi Khalid,
>>"with an attachment <<
unless you automate with a specific mail application such as Outlook, I do not believe you will be able to attach anything. As far as I know, it is not possible to attach files using Application.FollowHyperlink "mailto: ....
crystal
~ have an awesome day ~
Hi Crystal,First of all sorry for replying much late, as i was engaged on some other issues.Now the current situation is that my user do not have Microsoft Out Look Express, so he will use some other email probably gmail.The first task which i need to accomplish is that when a Member/Members birthday occurs on the current date an email be sent to him/them automatically (with an attachment of Happy birthday wish from Society, some image selected and edited to our requirements).The necessary fields from table "Members" are as follows:MembershipType-->Text-->3MemberID-->Number-->Long Integer (PK)SurName-->Text-->30GivenName-->Text-->30GenderStatus-->Text-->15Dob-->Date/Time, Format-->Short Date, Input Mask-->00/00/0000;0;_ (Date of Birth)tblElectronicContactsMemberEmail-->Text-->50I have already have a Continuous Form "Notification3", which opens on clicking the Label "LabelNotification3" with the Caption "Member's Birthdays Today".Form "Notification3" Record Source is query "qryHappyBirthday" having Sql:SELECT Members.MembershipType, Members.MembershipTitle, Members.MemberID, Members.SurName, Members.GivenName, Members.GenderStatus, Members.DesignationSOC, Members.Dob, Members.PlaceOfBirth, tblContactNumbers.TelephoneResidence, tblContactNumbers.MobileNo1, tblElectronicContacts.MemberEmailFROM (Members INNER JOIN tblContactNumbers ON Members.MemberID = tblContactNumbers.MemberID) INNER JOIN tblElectronicContacts ON Members.MemberID = tblElectronicContacts.MemberIDWHERE (((Month([Dob]))=Month(Date())) AND ((Day([Dob]))=Day(Date())));I have just put this information may be you ask me about it.Crystal, please assume that i am a novice so you will have to guide me step by step.Required your help.Regards,Khalid
---In MS_Access_Professionals@yahoogroups.com, <strive4peace2008@...> wrote :
with Application.FollowHyperlink and mailto:, you can use the default email package installed but you won't have as much control over the message. For instance:
On Error Resume Next
Application.FollowHyperlink _
"mailto: TheEmailAddress@...?subject=My Subject " _
& "&body=whatever you want to say"better than using spaces would be to use %20 ... for instance:
?subject=My%20Subject
There are other parameters such as cc and bcc that can be specified. The first parameter has "?" before it and the rest then have "&" before them. Line breaks are represented with: %0d%0a
respectfully,
crystal
http://www.MsAccessGurus.com
connect to me, let's build it together
~ have an awesome day ~On 5/14/2017 7:26 AM, John Viescas JohnV@... [MS_Access_Professionals] wrote:Khalid-You have to have Microsoft Outlook installed on the machine where the app is running for that code to work. If you use something else for email, you'll need custom code.John Viescas, AuthorEffective SQLSQL Queries for Mere MortalsMicrosoft Access 2010 Inside OutMicrosoft Access 2007 Inside OutMicrosoft Access 2003 Inside OutBuilding Microsoft Access Applications(Paris, France)
On May 14, 2017, at 2:03 PM, khalidtanweerburrah@... [MS_Access_Professionals] <MS_Access_Professionals@yahoogroups.com> wrote:
Posted by: khalidtanweerburrah@yahoo.com
Reply via web post | • | Reply to sender | • | Reply to group | • | Start a New Topic | • | Messages in this topic (6) |
Tidak ada komentar:
Posting Komentar