Starts in:
0 DAY
14 HRS
40 MIN
38 SEC
Starts in:
0 D
14 H
40 M
38 S

Activities of "Zahra"

Answer

I can not send my project because it is private

I think you can solve it without my project

Answer

background job dose not work ...I don't know why

I send for you the code and this is the error

Answer

maybe their is configuration I forget to write

Answer

if I invent some peoples for a meetings ..it will send an email for all of them

Answer

on Application.Contracts Layers

[BackgroundJobName("EmailSendingArgs2")]
public class EmailSendingArgs
{
    public List<string>? EmailAddressList { get; set; }
    public string? Subject { get; set; }
    public string? Body { get; set; }
    
}

on Application Layers

public class EmailSendingJob : AsyncBackgroundJob<EmailSendingArgs>, ITransientDependency
	{
		private readonly IEmailSender _emailSender;

		public EmailSendingJob(IEmailSender emailSender)
		{
			_emailSender = emailSender;
		}

		public override async Task  ExecuteAsync(EmailSendingArgs args)
		{
			foreach (string emailAddress in args.EmailAddressList)
			{
				await _emailSender.SendAsync(
					emailAddress,
					args.Subject,
					args.Body
				);
			}

		}
	}

on AppService

 await _backgroundJobManager.EnqueueAsync(
                                new EmailSendingArgs
                                {
                                    EmailAddressList = emailAddressList,
                                    Subject = subject,
                                    Body = emailBody
                                }
                            );
                            ```
Question
  • ABP Framework version: v7
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Separated server
  • Exception message and stack trace: I am want to send email to list of users on background job >>>
  • if i give a name for background job its work next time its not work until i change the name again
  • so it need to change the name each time i want to send email

how i can use unique name for the email??

*

  • Steps to reproduce the issue:"

but your demo dose not contain any images

Question
  • ABP Framework version: v5
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): yes
  • Exception message and stack trace:I want to add LinkedResource with image that have cid because the normal path dose not work >>>>>I want like this :

** LinkedResource inline = new LinkedResource("filename.jpg", MediaTypeNames.Image.Jpeg); inline.ContentId = Guid.NewGuid().ToString(); avHtml.LinkedResources.Add(inline);**

but for your template >>I think embedded image need cid on src

  • Steps to reproduce the issue:"
Question

SECheck the docs before asking a question: https://docs.abp.io/en/commercial/latest/ Check the samples, to see the basic tasks: https://docs.abp.io/en/commercial/latest/samples/index The exact solution to your question may have been answered before, please use the search on the homepage.

If you're creating a bug/problem report, please include followings:

  • ABP Framework version: v
  • UI type: Angular
  • DB provider: EF Core
  • Tiered (MVC) or Identity Server Separated (Angular): Identity Server Separated (Angular)
  • Exception message and stack trace:I want to send an email with an image inside html page >>>the image dose not appear >>what should be the src of image ??
  • Steps to reproduce the issue:"
Showing 1 to 9 of 9 entries
Made with ❤️ on ABP v9.1.0-preview. Updated on November 20, 2024, 13:06