Email recipients from recordset
Hi all,
I'm having real trouble with this and would appreciate some guidance. I have created a form which emails an attached file and has a few fields to fill in such as name / telephone number etc...
At the moment, you have to enter the email address where the form is being sent into the email field. I have a recordset with 15 contacts in it, each with a different email address. I would like to use this recordset to create 15 checkboxes in the form, so that instead of having a blank email field, the user selects one or multiple recipients from the checkboxes - and the form is sent to those people.
Does anyone have any idea how I would do this?
Please help!
Nathan
Hi Nathan,
I've done a similar thing but using groups instead of individuals.
What I did was add a recordset to the send email form that was controlled via a drop down menu breaking the email list into groups.
Before inserting data to the email form you are asked to select a group. The group/recordset is then refreshed with the new query (just the group you selected). Then you can fill in the contents of the form and send the email.
So in your case I think it would be a similar idea. You could either make it in one page or two. First page create the form with the checkboxes to select the email recipients (also it builds the new query for the next page) then pushes that query to the second page to the email form. Fill in the form and send.
Similar Messages
-
Problem with send email to recipients From recordset behavior
Hello
I use the ^send email to recipients From recordset^ behavior, then words of the subject of sent email stick and the spaces between words in subject removed.
E-Mail charset is utf-8 and language is Persian
for example:
موضوع ايميل من
will be change to:
موضوعايميلمن
notice: spaces are removed
To overcome this problem, please help me
sorry, i'm not good in english
ThanksPersian language is very similar to arabic language
Please help me, I can't solve this problem -
Send E-mail To Recipients From Recordset Attachment problem
Hello !
I got a recordset which stored a list of recipients emails.
CREATE TABLE IF NOT EXISTS `tasks` (
`id_task` mediumint(9) NOT NULL auto_increment,
`id_procedure` mediumint(9) NOT NULL,
`id_step` mediumint(9) NOT NULL,
`lib_task` varchar(40) NOT NULL,
`recipient_email` varchar(80) default NULL, <---------------- email to use
`email_text` mediumtext,
`url_document` varchar(100) default NULL, <------------------ name of document to send for THIS recipient as attachement
PRIMARY KEY (`id_task`),
KEY `id_procedure` (`id_procedure`),
KEY `id_step` (`id_step`)
There's less than 10 records to process.
Table content :
RECIPIENT 1 DOCUMENT 1
RECIPIENT 2 DOCUMENT 2
RECIPIENT 3 DOCUMENT 3
RECIPIENT 4 DOCUMENT 4
RECIPIENT 5 DOCUMENT 5
RECIPIENT 6 DOCUMENT 6
I want to use the "Send E-mail to Recipients From Recordset" behaviour and Dynamic Datas.
The problem is that each recipients are well processed but all of them receive the attach document of the FIRST one !
Email results :
RECIPIENT 1 DOCUMENT 1
RECIPIENT 2 DOCUMENT 1
RECIPIENT 3 DOCUMENT 1
RECIPIENT 4 DOCUMENT 1
RECIPIENT 5 DOCUMENT 1
RECIPIENT 6 DOCUMENT 1
How can I fix it ?
Thanks for your help. Jérôme.I try another way to do it, using a html link
> function Trigger_EmailRecordset_E6(&$tNG) {
$rsemailObj = new tNG_EmailRecordset($tNG);
$rsemailObj->setRecordset("rsTasks");
$rsemailObj->setFrom("{KT_defaultSender}");
$rsemailObj->setTo("email_to");
$rsemailObj->setSubject("{rsTasks.lib_task}");
//WriteContent method
$rsemailObj->setContent("{rsTasks.email_text}\n</br>\n</br>\n{rsTasks.url_document}</br>< /br>
<a href=\"http://xxx.xxx.xxx.xxx/yyyyyyyy/{rsTasks.url_document}\">Clic here</a>");
$rsemailObj->setEncoding("UTF-8");
$rsemailObj->setFormat("HTML/Text");
$rsemailObj->setImportance("High");
return $rsemailObj->Execute();
I wonder if I could use Dynamic Data _INSIDE_ {rsTasks.email_text} field ?
Thanks. JM. -
Multiple email recipients from address book
I have not done this since I got my Mac. I want to send emails to about 50 of maybe 200 people in my address book. I tried highlighting but did not work. Can anyone help please?
ShariCreate a new Group in Address Book. Select the names of the people you wish to use in your mailing list. When you open the New Message window in Mail you may drag the group from AB to Mail or simply put the name of the group on the To: field and the group will be added automatically.
-
Using Dynamic Data in "Send E-Mail To Recipients From Recordset"
Hi,
How can I use Dynamic Data embedded in recordset field ?I try another way to do it, using a html link
> function Trigger_EmailRecordset_E6(&$tNG) {
$rsemailObj = new tNG_EmailRecordset($tNG);
$rsemailObj->setRecordset("rsTasks");
$rsemailObj->setFrom("{KT_defaultSender}");
$rsemailObj->setTo("email_to");
$rsemailObj->setSubject("{rsTasks.lib_task}");
//WriteContent method
$rsemailObj->setContent("{rsTasks.email_text}\n</br>\n</br>\n{rsTasks.url_document}</br>< /br>
<a href=\"http://xxx.xxx.xxx.xxx/yyyyyyyy/{rsTasks.url_document}\">Clic here</a>");
$rsemailObj->setEncoding("UTF-8");
$rsemailObj->setFormat("HTML/Text");
$rsemailObj->setImportance("High");
return $rsemailObj->Execute();
I wonder if I could use Dynamic Data _INSIDE_ {rsTasks.email_text} field ?
Thanks. JM. -
Delete email receipients from autocompletion
Can you tell me how to delete email recipients from autocompletion. This is very problematic as I have unwanted emails in here.
How bad do you want it? I found the only way to do this is to go to settings (General, Reset) and then to Reset all Content and Settings. Then when you restore, you must do as a new iPhone, not from a backup (because of course those same address are in the backup). You lose everything. As long as you have your contacts, calendars, bookmarks, etc... inputted in your computer, when you re-sync you just put it back. Although you will have to re-do things such as customized home screens, and the arrangement of bookmarks. And any SMS's will be deleted too.
-
How to create an email group from fellow email recipients
I'm sorry for asking what has to be a very basic question but I've not been able to find the answer here or anywhere.
Basically, I want to cut/paste 40-50 email addresses from an email that was sent to me into my address book as a separate Group. ..These are email addresses for players on a sports team. ..I don't know their full names, companies, ph. numbers etc... and don't care to keep that info on hand.. Nor do I want to spend the time adding each as a separate contact. I just need to keep their email addresses. ..I may add addresses to this from time to time, or remove, etc.. For now, whenever I want to send an email to this group, I have to dig up the email sent to me that contained all the addresses as addidional recipients.
Thanks for reading/ replying!
Syd123Same same. Did you get an answer yet??
Just ridiculous isn't it? -
When trying to email a picture to someone who already exist in my email contacts from Iphoto i have to type the email address in full. in email when I enter the first few characters the address is shown. Can Iphoto access my contacts instead of me typing the whole address. The old version did that.
my email links will not open firefox or if open will not go to the browser/site.
since changing to firefox, my email do not work. I have made firefox the default and deleted the prevoius browser and restarted my pc.... -
When I email photos from iphoto (9.2.2) the recepients are unable to open the files, and command I tells me they are locked-
How and where do I unlock them?You can't unlock files on their machines.
iPhoto sends HTML emails and not every email application (or user) knows how to work with these.
Send Plain text emails via Mail instead. That's pretty foolproof. -
Emails to/from server always bounce to some domains
Sorry if I'm posting this in the wrong place. I've wasted 2 full days and sporadic time throughout the last 3 weeks on this.
I recently migrated a site from Server 2003 to a new Windows Server 2008 server. Ever since the move, my emails to and from my email address bounce from the server. I've spent 3 weeks with tech support on both ends getting nowhere.
Here's a rundown of the problem and what I've done about it:
Problem 1: Email from my domain (call it mydomain .tld) sent to the new server (call it serverdomain .tld) always bounces
Emails sent from mydomain .tld to serverdomain .tld get bounced back INSTANTLY with the error "550-The mail server could not deliver mail to "user@ serverdomain .tld". The account or domain may not exist, they may be blacklisted, or missing the proper
dns entries."
Problem 2: Email from serverdomain .tld sent to mydomain .tld always bounces
Emails sent from serverdomain .tld directly to mydomain .tld always bounce back after a 5-10 second delay with the error "550 Sender verify failed."
All emails were sent directly from server to server using webmail interfaces.
Possible problems/solutions I've explored:
Spam Filtering:
The new server's mail server (SmarterMail 2010) has spam filter bouncing disabled. No blacklists or greylists are defined.
The server hosting my email account is a shared hosted server, so I don't have access to its spam settings, but I have been assured by their technical support that the server's IP address is not blacklisted or blocked in any way.
Blacklist tests at MXToolBox.org all come up clean.
SPF Records:
I have defined an SPF (TXT) record for the domain "v=spf1 ip4:xxx.xxx.xxx.xxx -all", which points to the IP address of the mail server / web server. I do not have a type (SPF) record as Windows Server doesn't have an option for this type of record.
SPF test passes without errors at www . kitterman.com/spf/validate.html. Test email through spf-test@ openspf.net returns no errors.
Reverse Lookup:
I have a working reverse IP set up and is confirmed by checking it at ipadmin.junkemailfilter.com/rdns.php that points back to serverdomain .tld.
Testing through Telnet actually works:
I followed the steps at technet.microsoft.com/en-us/library/bb123686.aspx to log into the SMTP server on the new server's end and was able to successfully send an email manually to the new server, even using the same email address that keeps failing to send
directly to the server.
Some observations from the logs:
When sending email from mydomain .tld to serverdomain .tld, NO LOG ENTRIES are created at serverdomain .tld. This leads me to believe something is blocking it before it ever connects to the server.
When sending email from serverdomain .tld to mydomain .tld, the following log entries are created:
13:02:50 [60055] Delivery started for user@ serverdomain .tld at 1:02:50 PM
13:02:53 [60055] Skipping spam checks: No local recipients
13:02:56 [60055] Sending remote mail for user@ serverdomain .tld
13:02:56 [60055] Initiating connection to xxx.xxx.xxx.xxx
13:02:56 [60055] Connecting to xxx.xxx.xxx.xxx:25 (Id: 1)
13:02:56 [60055] Connection to xxx.xxx.xxx.xxx:25 from xxx.xxx.xxx.xxx:65260 succeeded (Id: 1)
13:02:56 [60055] RSP: 220-mydomain-host.tld ESMTP Exim 4.77 #2 Wed, 24 Oct 2012 13:02:58 -0700
13:02:56 [60055] RSP: 220-We do not authorize the use of this system to transport unsolicited,
13:02:56 [60055] RSP: 220 and/or bulk e-mail.
13:02:56 [60055] CMD: EHLO serverdomain .tld
13:02:56 [60055] RSP: 250-mydomain-host.tld Hello serverdomain .tld [xxx.xxx.xxx.xxx]
13:02:56 [60055] RSP: 250-SIZE 52428800
13:02:56 [60055] RSP: 250-AUTH PLAIN LOGIN
13:02:56 [60055] RSP: 250-STARTTLS
13:02:56 [60055] RSP: 250 HELP
13:02:56 [60055] CMD: MAIL FROM:<user@ serverdomain .tld> SIZE=951
13:02:56 [60055] RSP: 250 OK
13:02:56 [60055] CMD: RCPT TO:<user@ mydomain .tld>
13:02:57 [60055] RSP: 550-Verification failed for <user@ serverdomain .tld>
13:02:57 [60055] RSP: 550-The mail server could not deliver mail to user@ serverdomain .tld. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.
13:02:57 [60055] RSP: 550 Sender verify failed
13:02:57 [60055] CMD: QUIT
13:02:57 [60055] RSP: 221 mydomain-host.tld closing connection
13:02:57 [60055] Bounce email written to 851023860056.eml
13:02:57 [60055] Delivery for user@ serverdomain .tld to user@ mydomain .tld has completed (Bounced)
13:02:59 [60056] Delivery started for at 1:02:59 PM
13:02:59 [60055] Delivery finished for user@ serverdomain .tld at 1:02:59 PM [id:851023860055]
13:03:02 [60056] Skipping spam checks: Internally Generated Message
13:03:05 [60056] Starting local delivery to user@ serverdomain .tld
13:03:05 [60056] Delivery for to user@ serverdomain .tld has completed (Delivered) Filter: None
13:03:05 [60056] End delivery to user@ serverdomain .tld
13:03:05 [60056] Delivery finished for at 1:03:05 PM [id:851023860056]
Configuration:
The new server uses Windows Server 2008 for DNS.
The mail server is also hosted at the same IP as the DNS server.
DNS Records for Serverdomain .tld:
[All xxx.xxx.xxx.xxx IP addresses point to the server's IP address]
Forward Lookup Zone: Serverdomain .tld
(same as parent folder) (SOA) 57, servername., hostmaster.
(same as parent folder) (NS) servername
(same as parent folder) (MX) [10] xxx.xxx.xxx.xxx
(same as parent folder) (TXT) v=spf1 ip4:xxx.xxx.xxx.xxx -all
* (A) xxx.xxx.xxx.xxx
mail (A) xxx.xxx.xxx.xxx
mail (MX) [10] xxx.xxx.xxx.xxx
mail (TXT) v=spf1 ip4:xxx.xxx.xxx.xxx -all
ns1 (A) xxx.xxx.xxx.xxx
ns2 (A) xxx.xxx.xxx.xxx
www (A) xxx.xxx.xxx.xxx
Reverse Lookup Zone: xxx.xxx.xxx.in-addr.arpa (syntax of IP is backwards, does not include last 3 digits)
(same as parent folder) (SOA) 10, servername., hostmaster.
(same as parent folder) (NS) servername
xxx.xxx.xxx.xxx (PTR) Serverdomain .tld
I'm totally at a loss. This is not just blocking email to/from me, but it has blocked email to at least one other domain name as well. I can get no useful help from tech support on either end.
(I had to put spaces in all links in this post because it wouldn't let me post links. Also, this forum crashes every single time I try to post in IE9, but works fine in FireFox. How ironic is that...)I can only help with Exchange, but generally speaking, that line;
13:02:57 [60055] RSP: 550-The mail server could not deliver mail to user@ serverdomain .tld. The account or domain may not exist, they may be blacklisted, or missing the proper dns entries.
Mean the server checked the GAL (it's global adress book) and it refused it. It's usually a simple antispam and antirelay configuration. The strange thing is the log after, that the email is received...
That lead me to think the antispam software/hardware is badly configured, and for a reason X, it does not block the email from passing by it's filter. So yes, their answer is correct, but that mean all email is filtered in some way, so it's not
correct in some way too.
Does they configured your domain alias correctly and such basic information ? I have a big doubth at this point.
Run some wireshark to be sure the problem is not in your CIE, and after pass that to their IT's tech, if the email is sent correctly, and you receive a server answer back, then something in their config is not ok.
Don't forget that if the packet X is sent on your WAN to their datacenter, they are responsable for the correct receiving when it enter their datacenter.
(edited: A last point; don't forget they HAVE to run a antispam's box, as the MX is the same IP, so basicly the antispam box dispatch the email to the correct server (like check
https://www.barracudanetworks.com/ns/downloads/Setup_Guides/Barracuda_Email_Security_Service_SG_US.pdf) you will see what I mean, a list of domain and server)
MCP | MCTS 70-236: Exchange Server 2007, Configuring
Want to follow me ? | Blog:
http://www.jabea.net | http://blogs.technet.com/b/wikininjas/ -
Email PDF from Mail Merge Problem
Using a data source of email addresses from Excel 2003 and performing a mail merge in Word 2003 with the Mail Merge to Adobe PDF button, everything worked okay and the emails generated to the outbox in Outlook 2003 with the relevant PDFs attached. However, once they were mailed the recipients who use Outlook Express had the attachments missing. I'm using Acrobat 8.1.5
I've seen previous queries about this and it seems to relate to Outlook using a RTF format. I set Outlook to default to html and then plain text formats but still had the same problem. Can anyone suggest how I can solve this or if the problem is Outlook related, then another email program that would work without causing this problem (preferable freeware or inexpensive).
ThanksJust an interesting after thought, since you mentioned blocking. Several federal agencies and companies block zip files also. I ran onto a message recently about the university blocking zip files at one time because of a problem. Mail merge files are typically personalized and it would be nice for them to go intact. If they re not personalized, but just being sent in general, then posting the basic file and e-mailing a link might work better. For a lot of things I do, I just use the mail merge that is built into my e-mail client. That creates a mail-merge of messages that are personalized.
Just thought the blocking comment might be of interest, though I give the same advice. I am not sure how it could be done with zip in a mail merge sense. -
Can't delete email messages from some folders in Mail
I CAN delete email messages from header Folder "MAILBOXES" (drafts, sent, trash); however, there's another folder header below called "ON MY MAC", where I save various emails by dragging them to a subfolder, and when I try to delete these, I get this message:
"The message '(subject of email)' could not be moved to the mailbox 'Deleted Messages --- On My Mac' The destination mailbox 'Deleted Messages --- On My Mac' does not allow messages to be moved to it."
The only way to delete from this folder is to hold Control, select from the dropdown Move to, then Trash, and then one of three sub-trash folders (the one that has my email address) -- this is a pain to do.
Mail is just not working properly any more (I just added 2 other posts - one about crashing, another about all my Fonts missing)
thank you in advance!Colin,
Have you checked Mail>Window>Previous Recipients for the old address? If not, attempt to "Remove From List" at that location and let us know what happens.
;~) -
Removing email address from auto populate box in ICal invites
I deleted a contact/email address from my address book but his name/email still shows up in ical as choice for invites. His address is not in my mail's "previous recipients" list and is removed from contacts. How do I stop it from being a choice to populate in my ical invite?
MacBook Pro - where you actually want and thought you were posting?
https://discussions.apple.com/community/notebooks/macbook_pro
https://discussions.apple.com/community/mac_os?view=discussions
http://www.apple.com/support/macbookpro
http://www.apple.com/support/ical
I assume it is in a cache - maybe even on servers.
http://www.apple.com/support/iphonehttp://www.apple.com/support/mail -
Delete old email address from cache on a MAC
Has there been a solution to delete old email addrss from the cache on a MAC? I'm not talking about iPhone or iPad devices. The last discussion on this topic was back in 2012 and it doesn't look as if this was resolved.
Bottom line, when you create an email on the mac, the auto fill pulls up every email address for an individual (current or not). The correct email address are in the contacts, but the cache is storing the really old address.
Suggestions are welcome.Apart from the AddressBook, email addresses are also kept under 'Previous Recipients' in Mail, in the Window menu.
-
I would like to delete obsolete email addresses from appearing in the Address line of my outgoing email. My address book only has the current email address of each person. Why does the old addresses appear?
Check Window > Previous Recipients for that user name and see if the old addresses are there. If they are delete them.
Allan
Maybe you are looking for
-
Since I have Yosemite on my iMac I can't view PDF files in Safari anymore. It keeps telling me to upgrade my Adobe Reader, but it is the latest version. Please help? I don't have this problem on my Macbook that does not have Yosemite installed.
-
Problem with content aware, keep getting "network error" message
My photos open in mix but when I try to use the content aware filter, I keep getting the "network error" message
-
Rename the column names in Embedded BPM Worklist
Hi, I have embedded the BPM worklist in ADF Page. My requirement is to rename the column names in the task list. For example, the column 'state' should be renamed as 'Status' and the column 'from User' should be renamed as 'From'. Is there any possib
-
My bridge pause all the time. I have to wait 30 seconds after selecting a picture or click the right button of the mouse. I have installed a new windows 8.1, and a fresh CD6. But still these problems in Bridge. No problems in Photoshop. What to do
-
Upgrading from 5.0.2 to 5.0.3
Anyone can share thier experiance...or what to expect!