Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    mex
    mex is offline
    Regular Coder
    Join Date
    Jul 2003
    Location
    somewhere
    Posts
    134
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Exclamation need help with jmail

    I have this asp jmail script and its working but since i am new to asp I dont know how to configure it....can any tell me how to send mails to more than 1 recipient .....

    the script is below:
    ____________________________________________________

    <%

    code erased!!

    %>

    ___________________________________________________

    Thanx in advance
    Last edited by mex; 12-28-2003 at 02:27 PM.
    Wonder

  • #2
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    when you want to send it to multiple people you just need to add semicolons after each name

    email1;email2;

    you can try using mail.CC
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]

  • #3
    mex
    mex is offline
    Regular Coder
    Join Date
    Jul 2003
    Location
    somewhere
    Posts
    134
    Thanks
    0
    Thanked 0 Times in 0 Posts
    I tried both of them but its not working !!! or haf i made any mistake.....Can u be more specific.....

    I'm confused
    Wonder

  • #4
    mex
    mex is offline
    Regular Coder
    Join Date
    Jul 2003
    Location
    somewhere
    Posts
    134
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy

    hey just forget about the cc,bcc......

    Can u tell me what's wrong with the script as it is not able send multiple address even after seperating them using (,) or (; ).

    anyone.....
    Wonder

  • #5
    Senior Coder A1ien51's Avatar
    Join Date
    Jun 2002
    Location
    Between DC and Baltimore In a Cave
    Posts
    2,717
    Thanks
    1
    Thanked 94 Times in 88 Posts
    Tech Author [Ajax In Action, JavaScript: Visual Blueprint]

  • #6
    Regular Coder
    Join Date
    Jun 2002
    Location
    Lincoln (UK)
    Posts
    138
    Thanks
    3
    Thanked 0 Times in 0 Posts
    Just duplicate the lines

    Multiple recipiants:

    mail.AddRecipient receiver
    mail.AddRecipient receiver2
    mail.AddRecipient receiver3

    or

    mail.AddRecipient receiver
    mail.AddRecipientCC receiver2
    mail.AddRecipientBCC receiver3

    I think it's BCC for for blind CC, Anyhow full object referance can be found at www.dimac.net

  • #7
    mex
    mex is offline
    Regular Coder
    Join Date
    Jul 2003
    Location
    somewhere
    Posts
    134
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy

    thanx for the reply....

    what i meant to say was --- when i try to seperate email addresses in the "html" form using (,) or (; ) ...i get an error....!!!!but functions well when i send only ONE email in one field each

    anyone
    Wonder

  • #8
    Regular Coder
    Join Date
    Jun 2002
    Location
    Lincoln (UK)
    Posts
    138
    Thanks
    3
    Thanked 0 Times in 0 Posts
    I've never processed a JMail form that way.
    It seems however that version 4.4 does
    Check the examples and documentation at www.dimac.net/Products/w3JMail/start.htm

    However, assuming you (like me) are using a version which doesn't support it, then why not split the recipient list into an array and then simply re-print the "mail.AddRecipient RecipVariable" string as required.


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •