Sending to multiple people from smtp
Hi ,
How can i actually send to multiple ppl using utl_smtp ?
PROCEDURE send_test_message
IS
mailhost VARCHAR2(64) := 'mailhost.fictional-domain.com';
sender VARCHAR2(64) := '[email protected]';
recipient VARCHAR2(64) := '[email protected]';
mail_conn utl_smtp.connection;
BEGIN
mail_conn := utl_smtp.open_connection(mailhost, 25);
utl_smtp.helo(mail_conn, mailhost);
utl_smtp.mail(mail_conn, sender);
utl_smtp.rcpt(mail_conn, recipient);
-- If we had the message in a single string, we could collapse
-- open_data(), write_data(), and close_data() into a single call to data().
utl_smtp.open_data(mail_conn);
utl_smtp.write_data(mail_conn, 'This is a test message.' || chr(13));
utl_smtp.write_data(mail_conn, 'This is line 2.' || chr(13));
utl_smtp.close_data(mail_conn);
utl_smtp.quit(mail_conn);
EXCEPTION
WHEN OTHERS THEN
-- Insert error-handling code here
NULL;
END;
how shld i add into the recipient ??
i have tried
1 - '[email protected],[email protected]';
2 - '"[email protected]","[email protected]"';
both does not seem to work
kindly advise
tks & rdgs
You need to familiarise yourself with RFC821 - you'll find a copy at http://www.faqs.org/rfcs/rfc821.html
Do not confuse SMTP (an application protocol) with the way an e-mail looks. E.g. the TO and FROM fields in an e-mail can say anything and have no bearing on to whom the e-mail was send to, and from who it came.
Basically a "mail transaction" is a:
MAIL FROM - identifies the sender (can easily be spoofed)
RCPT TO - identifies a single recipient and can be repeated multiple times
DATA - submits the header and body of the e-mail
Read the RFC - it explains this in detail.
Similar Messages
-
Icloud mail will not send to multiple people?
My icloud mail to multiple people wll make the swish when it is sent and then it is gone. It does not even show up in the sent file. I have to start the email again. After 2 or 3 tries it finally send and shows up in my sent file after several minutes. Anyone else having this problem?
LRansonThank you for coming to my rescue! I've checked the email addresses and they're fine... at least they are fine when I look in my contacts. It would appear that when I start writing the address in the 'to' space and it auto-completes then it works. However, if I click on the address book icon in mail then start double clicking on addresses in there, I come up with a problem. I think I might have come up with where the problem is - when the error message (address not valid) shows, it tells me which addresses are not recognised - I clicked on those addresses (in a saved draft) to check them out and when I do, they only show the recipient's name but not their email address - the ones not named as having a problem show the email address. I'm baffled as all the contacts were imported the same way and as when I go into my Contacts, the details of the problematic addresses look exactly the same as the ones without issues... so so strange!
-
Or do I need to create separate account specifically for those systems and send from there? It seems that Apple needs to try and harmonize that process. If I have a yahoo or google account and I message someone who is just on one of those systems, just filter it thru that account and send it back to my "messages" app...
Hi,
With iChat the answer is NO.
You have to have a Jabber (GoogleMail ID , Facetbook ID or other Jabber) or a Yahoo account to be able to message people with those IDs.
APple IDs ending in @mac.com and @me.com are valid AIM Screen Names and these Buddies can be added to a "AIM" Login Buddy List.
Google and FaceBook run Jabber Servers and there are many other Jabber Public Servers you can get names/IDs from.
All these types can be added to a "Jabber" Buddy List.
Yahoo in iChat 6 is for Yahoo accounts only (you cannot Login with an MSN name like you can in Yahoo for Mac). You also cannot add MSN Buddies (Yahoo Only).
10:43 PM Thursday; February 16, 2012
Please, if posting Logs, do not post any Log info after the line "Binary Images for iChat"
iMac 2.5Ghz 5i 2011 (Lion 10.7.3)
G4/1GhzDual MDD (Leopard 10.5.8)
MacBookPro 2Gb (Snow Leopard 10.6.8)
Mac OS X (10.6.8),
"Limit the Logs to the Bits above Binary Images." No, Seriously -
CF9 Email multiple people from a CF grid selection
Hello everyone. As the name suggests i am trying to figure out in CF9 over MySQL how to send multiple emails based on selected records from a grid.
I have a table called sstblemailnewmembers
this has fields:
fldemailid (Int + Auto Incr)
fldemail (TEXT)
fldsent (DATE)
CHECKED (SET 'true','false' DEFAULT false)
I then have a cf query in my page called emailnewmembers.cfm
<cfquery name="emailnewmembers" datasource="SAPLIVE">
SELECT fldemailID, fldemail, fldsent, CHECKED
FROM sstblemailnewmembers
</cfquery>
So far so good (i think)
I then have a form defined:
<cfform action="AdminTransfer.cfm"
width="1170"
method="post"
enctype="multipart/form-data"
format="Flash"
preloader="true"
style="backgroundAlpha: 0;"
wmode="transparent"
timeout="3000"
name="adminhome"
onload="loadAS();">
the onload="loadAS();" bit is used so I can select multiple records using this script which is the next bit to be defined:
<cfformitem type="script">
function loadAS(){
_root.myGrid.multipleSelection = true;
</cfformitem>
and finally on this page we have the grid itself and the submit button as below:
<cfgrid name="myGrid"
selectmode="edit"
query="emailnewmembers"
rowheaders="no">
<cfgridcolumn name="CHECKED" header="Select" type="boolean">
<cfgridcolumn name="fldemailID" header="Email ID">
<cfgridcolumn name="fldemail" header="Email Addrerss">
<cfgridcolumn name="fldsent" header="Date Sent">
</cfgrid>
<cfinput type="submit"
name="sendemailnewmembers"
value="Send Emails"
style="#buttonStyle#">
So far so good i guess?
The submit button calls the action page defined in the form tag.
This is what I have so far defined in the action page "admintransfer.cfm"...
<cfif isdefined("FORM.endemailnewmembers")>
<cfloop index = "Counter" from = "1" to =
#arraylen(Form.emails.CHECKED)#>
<cfif Form.emails.CHECKED[counter] is "true">
<cfquery name="emailnewmembers"
datasource="SAPLIVE">
UPDATE sstblemailnewmembers
SET
fldsent = NOW()
</cfquery>
<cfmail
to = "#Form.fldemail#"
from = "[email protected]"
subject = "Welcome New Member">
Dear New Member...
</cfmail>
</cfif>
</cfloop>
</cfif>
So, if I select 3 records an email is getting sent 3 times to the last email address of the last record I select.
I am assuming there is something wrong with the loop and probably a better way to do this but I am quite new and this is the best I can come up with so if anyone cares to point me in the right direction I would be enormously gratful indeedYou could use this script. It will put the adresses in the To field, so you could either modify the script or just drag them across to the Bcc field.
AK
<pre style="font-family: 'Monaco', 'Courier New', Courier, monospace; overflow:auto; color: #222; background: #DDD; padding: 0.2em; font-size: 10px; width:400px">(*Save the script in the Library/Scripts/Applications/Mail folder of your home directory. With several messages selected in Mail run
the script from the Scripts menu item on the menu bar. It will generate a new message with the sender of each of the selected
mails as a recipient, and the subject of the first selected mail as subject. Non-adjacent messages can be selected with Command-click.
AK Sep 2005 kinsella at itcarlow dot ie *)
using terms from application "Mail"
on perform mail action with messages TheMail
tell application "Mail"
set theSubject to ""
repeat with ThisMail in TheMail
set TheName to extract name from sender of ThisMail
set TheAddress to extract address from sender of ThisMail
if theSubject is "" then -- set subject, make message 1st time through
set theSubject to subject of ThisMail
if theSubject does not start with "Re:" then set theSubject to "Re: " & theSubject
set newMessage to make new outgoing message with properties {subject:theSubject}
end if
tell newMessage
make new to recipient at end of to recipients with properties {name:TheName, address:TheAddress}
end tell
end repeat
tell newMessage to set visible to true
end tell
end perform mail action with messages
end using terms from
using terms from application "Mail"
on run
tell application "Mail" to set sel to selection
tell me to perform mail action with messages (sel)
end run
end using terms from
</pre> -
How to send to multiple people using same port?
I am trying to have one person send TWO audio sources to 10 others using same port- lets say 12345. I get "Can't open local data port:" error. The first audio is fine since I just use .addTarget(). Is there a way i can do the same for the 2nd audio source still using the same port? thanks!
As far as I know, you should transmit using even-numbered ports, eg. 22222 and 22224.
I think a port numbered 22223 and 22225 are opened respectively to handle control information.
Could be wrong, but try it anyway!
StHogan -
Trying to display multiple people from different titles
Get-ADUser -Filter {Title -like "Director"}
This is what I've come up with. I want to display more than just director but I don't know how
to do that.
I have tried to use spaces and other things but I am not sure what im doing wrong.-filter {Title -eq 'Director' -or Title -eq 'Other guy' -or Title -eq 'Dudes who rock'}
help get-aduser -par filter
¯\_(ツ)_/¯ -
Global Address List for multiple people with same name?
When writing a new email, I want to add a name from the global address list of my microsoft exchange Contacts group. I select the blue plus button and type in the name. If there is more than one person in my company with the same name, both people will show up. However, Mail is not letting me see the details of either of the two people so I don't know which one is the right one.
However, if I start from Contacts, Groups, Exchange and type in that person's name, when I select a name, a second screen will show up with the details (email address, title, etc) of the person. That way, I know which one is the correct person who I want to email. Why can't I do this directly from Mail? If I need to send an email to multiple people from the GAL, I don't want to have to search for them via Contacts.
Thanks!I don't know the exact and complete specification of your intended schema...
anyway, from what I can see in your post, I assume that
<deed>
<deed_type>
<name>Quit Claim</name>
<value>Sheriff</name>
</deed_type>
<deed_type>
<name>sheriff's deed</name>
<value>Sheriff</value>
</deed_type>
<deed_type>
<name>Warranty</name>
<value>W</name>
</deed_type>
</deed>would be the "proper" way to go...
which makes your "deed_type" a complexType, including a sequence of two kinds of xs:string elements : "name" and "value" -
"Invalid address" only when sending to multiple addresses
I can send an email to <username>@gmail.com and to <username>@mac.com, but if I try to send an email to both recipients at once, my mail server says "Invalid address" even though my colleague can send an email to those addresses without a problem.
Since my colleague can do it, it can't be the server; but I can't figure out the difference between my Mail configuration and his.
Any ideas?I found my own answer. I didn't have password authentication on for the outgoing server. Weird. I was able to send mail to individuals without a password, but couldn't send to multiple people.
It's working now. -
I am 63 yrs old and not to computer literate. I know how to send an email to multiple people using my contact list and groups on my IMAC. I tried using a group name downloaded to my Ipad2 from my IMac. It does not work. If I choose a single email address it works. Any idea what I am doing wrong?
Thank you for your paitence and help.
SteveYou are not doing anything wrong. The feature that you need is totally lacking in the built in Mail app on the iPad.
There are a couple of third party mail apps that will let you do this ... MailShot and Group Email with Attachments. You can check them out in the App Store. -
Hi All,
I am working with SharePoint 2013 designer workflow. we are using office 365.
Our requirement to send email to multiple users, get the user groups from lookup list people and groups column.
But SP designer sending emails to the first user alone.
Please guide me to proceed.
Advance Thanks.
Regards
Jenkins NS
Thanks and Regards Jenkinsfinally I got a solution
Identified a workaround to solve the issue using SharePoint designer.
Step 1
Create a lookup list Example department
Columns
Title (by default) – Single line of text
Users – Person or Group
Emails – Multiple lines of text
hidden the Emails column (go to content type and set the column as hidden)
Create a SharePoint designer Workflow
Start Workflow automatically when an item is created
Also Start Workflow automatically when an item is changed
Workflow Stage 1
Set Emails to current Item: Users
The workflow will get all users email ids and add in the Emails column delimiter as semicolon.
Step 2
Create a custom list to get the email ids and send email
Create a lookup column ex: analysis and refer department list, Allow multiple values
Then Create a SharePoint designer workflow
full details workflow steps please follow below
URL
http://jenkinsblogs.com/2015/04/30/how-to-send-emails-to-multiple-users-from-lookup-list-people-picker-field-using-sharepoint-designer-workflow/
Thanks and Regards Jenkins -
Sending Pictures to Multiple People with iMessage
I like to send pictures of the kids to both my folks, and my inlaws. I like to send them all at once to multiple people. When someone responds to the message it gets sent to everyone that I originally sent the pictures to. Is there any way to change this, so that the conversations remain private from the other recipients?
I also wanted to do that (sending email to a lot of people and not seeing all those address of others)
Here is what I did to solve it:
1. I have created an String array of recipients
2. I have created a method named sendEMAIL(String[] address)
3. Inside the method, there is a loop in which every iteration, the function
sendMail() is called, thus sending the same email but the address is being changed every iteration
The method I described is slow since it mails to every address thus calling the function sendMail() every iteration which will be a lot slower for a lot of email address or recipients.
With this, I have been able to send same email to different people and those people wouldn't see the email addresses of other people in the "TO" field.
jte091805
Thanks I hope this helps. -
Send mail to multiple recepients and multiple groups from workflow
Hi,
I have a requirement where during the process flow, I have to send mail notifications to multiple people at each step. Have done the outlook config and working fine. Also mail steps are working fine for one recepient. But I have to send relevant mail content to multiple people and to multiple groups like HR, IT security etc. What would be the best approach for this req?
Please help.
Thanks,
Raj.Hello,
If I understand you correctly, you have two options:
Option 1 (if you must send to an external e-mail address):
1- identify all recipients in a previous step and retrieve their e-mail addresses from the system
2- collect all e-mail addresses in an internal table you define in the workflow template container (you can use table type BCSY_SMTPA)
3- in the e-mail step, choose Recipient type as U (E-mail Address)
4- in the e-mail address field, click F4 and you will see the e-mail address internal table you defined in step 2 above; use that variable
Option 2 (if you can send to SAP inbox):
1- identify all recipients in a previous step and retrieve the agent types and IDs (structure SWHACTOR)
2- collect all agents into an internal table (you can use table type TSWHACTOR)
3- in the e-mail step, choose Recipient type as G (Organizational Object)
4- in the drop-down box, keep the value as "Expression"
5- use F4 help to insert the internal table defined in step 2 as the expression value
Hope this helps you. -
Cant send multiple picture from nexus 5
Cant send multiple picture from nexus 5. Since latest upgrade. Only one by one. Can select multiple but only one can be sent.
As far as I can tell BBM sends a compressed copy of the picture first as you can set BBM up to auto accept requests. When that picture has transferred, underneath the picture will be a button to request a higher quality picture which gets sent to the sender, not sure if sender has to accept or if it auto accepts, but is a good idea for people on networks that don't have unlimited data in their bundle.
-
why is it that when i send emails duplications were created? the recepient says he receives multiple emails from me...
It is a bug. Try quitting Mail and then reopen it.
Send Apple feedback. They won't answer, but at least will know there is a problem. If enough people send feedback, it may get the problem solved sooner.
Mail Feedback -
How do I send single notifications to multiple people in the workflow?
HI
As I see you can send notification to one person at a time.
For example, the approval notification goes to a approver once someone submits a expense report or po approval.
How do I send single notifications to multiple people in the workflow?
Any idea?
Thanks in advance.Hi,
You need to send the notification to a role, which can comprise one or more than one users. If you check the "Expand roles" checkbox, then a different copy of the notification will be sent to each member of the role; otherwise one notification is sent which can be viewed by all holders of the role.
You should always send a notification to a role rather than a user, anyway - roles do not go on holiday, get sick or leave the company; users do.
HTH,
Matt
WorkflowFAQ.com - the ONLY independent resource for Oracle Workflow development
Alpha review chapters from my book "Developing With Oracle Workflow" are available via my website http://www.workflowfaq.com
Have you read the blog at http://thoughts.workflowfaq.com ?
WorkflowFAQ support forum: http://forum.workflowfaq.com
Maybe you are looking for
-
As stated above - a blank (UNTITLED) window pops up, but no player, no music. I just had some issues (virus, etc) and my PC was undated, fixed with the newest version of Firefox installed. I'm I now missing something?
-
Jar_cache files left in temp folder
With my java applet, I notice that my Temp folder fills up with lots of jar_cachexxx files, where xxx is numeric. Running on Windows Vista. Most of these files have a size of 0. The files never seem to be deleted. I've searched the forums, but this d
-
'Open Itunes When This iPhone Is connected' option disabled by default
since latest upgrade and ios 4.2.1 my itunes has disabled this option for my iphone 3gs, i dont have option to select or deselect option 'open itunes when this iphone is connected' it appears dimmed and not selectable through my itunes. any help?
-
I can't click anything on the settings..
Ok so I am trying to use my Dazzle Video capture device to stream video using a webcast system but the flash player settings wont allow me to click anything. I need to change the camera. I can right click and open settings but all the options are not
-
Scrolling of several ContainerController
Hi, I have a TextFlow with several containerControllers. Is it possible to scroll several linked containers? It appears that the text placed in each containers can't "move" a controller to another ... Solutions exist, or I need to implement a custom