I have a Jmail form with several texfields incl. email and name of users. The mail is sent from me "John Doe" "email@domain.com" to the user filling out the form. When the e-mail is being sent it looks like this: Code:
I'm trying to send an email (jmail) to everyone in a recordset but I'm getting no joy,I keep getting a "not all servers received message" error or something similar, can someone please take a look at this code and see if they can spot my glaring errors ?
<% set rsetReminder = Server.CreateObject("ADODB.Recordset") rsetReminder.ActiveConnection = MM_connmessages2_STRING rsetReminder.Source = "SELECT * FROM accessgroups WHERE ((accessgroups.fldjoined<Date()-14)) AND fldGroup = 'Guest' ORDER BY fldjoined DESC" rsetReminder.CursorType = 0 rsetReminder.CursorLocation = 2 rsetReminder.LockType = 3 rsetReminder.Open() rsetReminder_numRows = 0 %> <% While NOT rsetReminder.EOF firstname = rsetReminder.Fields.Item("fldFirstname").Value lastname = rsetReminder.Fields.Item("fldLastname").Value emailadd = rsetReminder.Fields.Item("fldEmailAddress").Value username = rsetReminder.Fields.Item("fldusername").Value password = rsetReminder.Fields.Item("fldPassword").Value usrid = rsetReminder.Fields.Item("fldnewuserid").Value
I'm sending email using ASPMailer thru ASP to single recipient, it is working fine. But if i m sending to multiple recipients its not working, email is going but not in proper format. i am sending some HTML format email. the email received by recipient if getting junk not in proper format.
I have few textboxes on my first page that ask for user's e mail address and other five additional e mail address after submiting that form it sends a copy to all the people use e mail address is entered.
I can send e mail to only one person if i put following code
objCDOMail.Cc = "viral007@gmail.com
or
objCDOMail.Cc = Emailtxtfield
but how can i send e mail to all the people on the list
it works if i put this objCDOMail.Cc = "viral007@gmail.com; viralbhatt@hotmail.com"
I'm using CDO Message to send out a newsletter, but I want to keep the recipient list hidden from view in the email TO: field and just show <undisclosed recipients>
I'm using cdo to send auto-generated emails. I'm calling a stored procedure that returns a recordset.
In most instances, the recordset will only return one record containing one email as the value. However, there are instances, where two records can be returned with two seperate email addresses that I need to send out using cdo. This is how I'm calling the procedure:
I am using CDONTS to send a confirmation email. I am using plain text to send my email. I would like to send to multiple users, but I am already using the "To," "Cc," and "Bcc." Is it possible to send to multiple recipients in the "To" field? I am also using variables instead of hard coded email addresses. Here is my code:
I have a standard formmail contact form that I would like to customize the recipient on. In other words, I want to be able to specify the recipient in a string in some cases, but when it is not specified have it send to a default recipient. What's the easiest way do accomplish this?
I have a database of 2000 subscribers. I need to send an HTML email to the entire list, but the mail needs to be individual to each recipient, so I need to loop through a script integrating database results into the mail-out.
My host doesn't have any ASP email components installed on the server other than CDOSYS.
Will CDOSYS be able to handle this, or will it flake/timeout? I need to be sure that when my colleague presses 'the button' it works (I'll be on holiday at the time!)
I'm a PHP programmer who for some reason was tasked with fixing some code on an asp page. I have what I feel should work, but I am getting this error:
CDO.Message.1 error '8004020c'
At least one recipient is required, but none were found.
/admin/mass_email_monthly.asp, line 47
Line 47 being this line: objMessage.Send
Now I want to have multiple recipients pulled from the database as illustrated in the code, but it isn't working. I have no idea why, and I have no idea what that error message means? Can anyone point me in the proper direction of a tutorial that can help? OR possibly show me where my syntax is wrong?
I use CDOsys and this code to specify the recipient. I guess I could create two separate instances of the objMail and specify everything one more time, but I want to send mails to two persons at once (the recipient and myself) and therefore wonder if there is a shorter way to do it.
I retrieve data from a database and I put the data into an array. Afterwards I want to send these data as an email using JMail. The problem is that I receive the following error when I am trying to send the email: Variable uses an Automation type not supported in VBScript. On the other hand if I try to print them on the screen there is no problem.
I am running into a wierd error while using W3jmail. The error is: Error Is:
jmail.Message (0x8000FFFF) The message was undeliverable. All servers failed to receive the message /reclaim/app/email/WA_Universal_Email/JMail_VB.asp, line 126
The thing that is wierd about it is the fact that the email sends even though the above error is displayed. Has anyone run into this before? or have any suggestions on how to eliminate the error?
I got Jmail to work fine. My problem is I need to send an email based on somthing a customer submitted. When we receive the submission in our system an auto-receipt email will be sent. What I need to have happen (and cant figure out) is that email to include what was received not just a on liner saying it was received. The information is pulled from the db with a query. Anyone got any suggestions?
I am currently trying to code a newsletter script with asp using jmail. I've seen hundreds of examples on the net that accomplish this but there is only one problem they all use a do while statement that sends one email at a time. When I do this the server times out because my list is so long. So I have been trying to write a scrip that uses the BCC function to send one email to everyone at once. Unfortunatly I can't seem to get it to work. Does anyone have any ideas how I can do this?
I'm using 20/20 Applications Pure-ASP Upload. It works great as far as uploading the files to my server. Now I have another question. Can you tell me how to attach the file from my server to the email. What I need to happen is when a user attaches a file, the files is uploaded to the server and then when they click on finish the email is sent with the file attached to it. I'm using the JMail function....
I am some what new to asp and programing. I have put together this code, so I can send out a mailing list to some users. The code looks and seams to run fine. But I dont receive any test messages during when I execute it. it's like the SMTP sever is not sending the emails....
I'm developing a web site with email capabilities: I have tried the free version of Jmail, now I need Jmail Professional but still don't want to buy it before having the chance to try it....
I have a web page coded in ASP VBScript which sends a html email using the Jmail.SMTPMail object.
I am trying to attach a .csv file to the mail but when i get the mail through it won't display. It just shows this in the mail body...
This is a multipart message in MIME format. ----NEXT_BM_46A46859F09247848CB1A7C3EBE06AC2 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: Quoted-Printable
I am hoping to use JMail to read pop3 mailboxes via an ASP page. I have a tutorial from the website (http://www.dimac.net/Websites/dimac/Website/Products/w3JMail/{C7EFB42E-5C6C-49D4-91B7-00C7E9388A96}?exId={553CC37F-7EB7-4D47-907C-1B75FE043B03}) but can't get it to run on the server. Does anyone have any idea why this code will not run?? I have entered the correct username,passwords into the script.
My host does not support CDONTS for sending email, but instead uses JMAIL. I have a example of the code i need (in CDONTS) but need to translate it into a JMAIL version for it to work with my website.
<% Dim objCDO Set objCDO = Server.CreateObject("CDONTS.NewMail") objCDO.From = Request.Form("EMAIL") objCDO.To = Request.Form("POSTER_EMAIL") objCDO.cc = Request.Form("EMAIL") objCDO.Subject = Request.Form("SUBJECT") objCDO.Body = Request.Form("MESSAGE") objCDO.Send() Set objCDO = Nothing %>
I have JMail installed, and when I code for remote servers, I am able to send the mail just fine, however I have yet to figure out how to test locally with IIS 5.1's mail server.
Does anyone have some information on how to setup the local system so I can test this feature before I script for it remotely? I'm sure that there 2 key points where I'm having a problem is
1. Setting up the IIS Mail Server 2. Defining the Mail Server in the JMail ASP code....
here problem comes. when user enters a different e-mail address (not same with my domain) it gives error. how can i solve this problem.. can jmail send an e-mail to differents domains?
I’m creating an application that uses JMail to send email. And it works great!! as longs as I don’t try to add an attachment. However, I really need to have my users be able to add attachments; otherwise the purpose of this application is null and void.
I know that the file that is attached needs to be uploaded to a file share folder via FTP then encoded before being sent. My problem is that I don’t know how to code it. This is the JMail code that I am working with: I need some help in getting the code other than (Jmail.addAttachment) for adding the attachment......
I had a problem with my webspace provider and CDONTS so I gave upon that front. I am now trying JMail which seems to be working, so now I need to transfer all my formatting from CDONTS to JMail.
I have a question on the formatting of a Jmail email.
I have the following snippet of code which details the variables and contents of the body of the email
I want to insert a line break/paragraph between Request.Form("surname") and Request.Form("number"). As you can see I have tried dong this with <p> tags and also <br>'s. However the tags are outputted into the email and not acutal line breaks.
Any ideas as to how to format the body of the email?
when i run it it mails and the attachment looks fine, when i try to open it the open/save as dialog shows and i click open, and then it opens the system32 folder, it didnt say anything about the file i was trying to open. then i try to open again and then it asks for a lasse1.jpg, next time lasse2.jpg, wtf is up with that?